diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-21 16:26:42 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-13 19:23:53 +0300 |
commit | 1bbfc848a915081237660d898bbcf50e4a8fc59f (patch) | |
tree | 50016a57e5f1e2e8f0521a49a66e5cb0ad637ff9 /fs/ubifs/orphan.c | |
parent | 693d92a1bbc9e42681c42ed190bd42b636ca876f (diff) | |
download | linux-1bbfc848a915081237660d898bbcf50e4a8fc59f.tar.bz2 |
UBIFS: make debugfs files non-seekable
Turn the debufs files UBIFS maintains into non-seekable. Indeed, none
of them is supposed to be seek'ed.
Do this by making the '.lseek()' handler to be 'no_llseek()' and by
using 'nonseekable_open()' in the '.open()' operation.
This does mean an API break but this debugging API is only used by a couple
of test scripts which do not rely in the 'llseek()' operation.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/orphan.c')
0 files changed, 0 insertions, 0 deletions