linux-hardened/drivers/mtd/ubi
Artem Bityutskiy e10b376e98 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 <Artem.Bityutskiy@nokia.com>
2011-04-14 11:34:40 +03:00
..
build.c Merge branch 'linux-next' of git://git.infradead.org/ubifs-2.6 2011-03-18 10:50:27 -07:00
cdev.c UBI: make the control character device non-seekable 2011-04-14 11:34:40 +03:00
debug.c UBI: make tests modes dynamic 2011-03-16 13:50:17 +02:00
debug.h UBI: make tests modes dynamic 2011-03-16 13:50:17 +02:00
eba.c UBI: preserve corrupted PEBs 2010-10-19 17:19:57 +03:00
gluebi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
io.c UBI: check if we are in RO mode in the erase routine 2011-04-05 11:08:58 +03:00
kapi.c UBI: provide LEB offset information 2011-03-08 10:12:48 +02:00
Kconfig UBI: do not select KALLSYMS_ALL 2011-04-05 11:08:59 +03:00
Makefile UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
misc.c UBI: make check_pattern function non-static 2010-10-19 17:19:57 +03:00
scan.c Fix common misspellings 2011-03-31 11:26:23 -03:00
scan.h UBI: add slab cache for ubi_scan_leb objects 2011-02-06 19:19:23 +02:00
ubi-media.h UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
ubi.h Merge branch 'linux-next' of git://git.infradead.org/ubifs-2.6 2011-03-18 10:50:27 -07:00
upd.c UBI: fix memory leak in update path 2010-01-18 18:53:56 +02:00
vmt.c UBI: do not compare array with NULL 2011-04-05 11:08:58 +03:00
vtbl.c Merge branch 'linux-next' of git://git.infradead.org/ubi-2.6 2011-03-18 10:50:02 -07:00
wl.c UBI: make tests modes dynamic 2011-03-16 13:50:17 +02:00