diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-03-21 15:26:42 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-05-13 18:23:53 +0200 |
commit | 1bbfc848a915081237660d898bbcf50e4a8fc59f (patch) | |
tree | 50016a57e5f1e2e8f0521a49a66e5cb0ad637ff9 /fs/nilfs2/recovery.c | |
parent | Linux 2.6.39-rc7 (diff) | |
download | linux-1bbfc848a915081237660d898bbcf50e4a8fc59f.tar.xz linux-1bbfc848a915081237660d898bbcf50e4a8fc59f.zip |
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/nilfs2/recovery.c')
0 files changed, 0 insertions, 0 deletions