From: Artem Bityutskiy Date: Mon, 21 Mar 2011 14:26:42 +0000 (+0200) Subject: UBIFS: make debugfs files non-seekable X-Git-Tag: v3.0-rc1~317^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbfc848a915081237660d898bbcf50e4a8fc59f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed