From: Artem Bityutskiy Date: Mon, 21 Mar 2011 14:50:18 +0000 (+0200) Subject: UBI: make the control character device non-seekable X-Git-Tag: v3.0-rc1~316^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e10b376e98332edcc2530aaed384a7e248477052;p=pandora-kernel.git UBI: make the control character device non-seekable This patch makes the UBI control device (/dev/ubi_ctrl) non-seekable. The seek operation does is not applicable to this file, so it is cleaner to explicitly return error (which the added 'no_llseek()') does than trying to change the position (which the removed 'default_llseek()' does). This is an API break, but the only known user of this interface is mtd-utils which does not need the seeking functionality. And any app which relies on this is broken, but I'm not aware of such apps. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed