summaryrefslogtreecommitdiff
path: root/include/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-03-21 14:50:18 (GMT)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-14 08:34:40 (GMT)
commite10b376e98332edcc2530aaed384a7e248477052 (patch)
tree2a84d4397dec41c4e298738c704ab694d30326ad /include/mtd
parenta6360dd37e1a144ed11e6548371bade559a1e4df (diff)
downloadlinux-e10b376e98332edcc2530aaed384a7e248477052.tar.xz
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>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions