commit | 1bbfc848a915081237660d898bbcf50e4a8fc59f | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Mon Mar 21 16:26:42 2011 +0200 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Fri May 13 19:23:53 2011 +0300 |
tree | 50016a57e5f1e2e8f0521a49a66e5cb0ad637ff9 | |
parent | 693d92a1bbc9e42681c42ed190bd42b636ca876f [diff] |
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>