summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/recovery.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-21 15:26:42 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-05-13 18:23:53 +0200
commit1bbfc848a915081237660d898bbcf50e4a8fc59f (patch)
tree50016a57e5f1e2e8f0521a49a66e5cb0ad637ff9 /fs/nilfs2/recovery.c
parentLinux 2.6.39-rc7 (diff)
downloadlinux-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