fs: Drop trivial .lseek() implementaitons in FS drivers
There are no FS drivers that do not implement .lseek callback in the codebase, so there doesn't seem to exist a use-case where lseek() would return -ENOSYS due to fsdrv->lseek being NULL. At the same time a large number of FS drivers implement only the most basic "always succeeds" custom .lseek() hook. Change the code of lseek() to treat absense of .lseek() to mean that no special actions needs to be taken by FS driver and seek is always successful and drop all of the trivial .lseek() implementations. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
fs/cramfs/cramfs.c |
---|
fs/efivarfs.c |
---|
fs/ext4/ext_barebox.c |
---|
fs/fs.c |
---|
fs/omap4_usbbootfs.c |
---|
fs/ramfs.c |
---|
fs/ratpfs.c |
---|
fs/squashfs/squashfs.c |
---|
fs/ubifs/ubifs.c |
---|