fs: Update FILE position in lseek()
Instead on relying on driver callbacks to update 'pos' in FILE, do it
as a part of lseek() code. This allows us to drop a bit of repeating
code as well as making lseek() implementation consistent with write()
and read().

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6811cc0 commit c44997e621cfe190fe44523e6cbcb03fea21eb8c
@Andrey Smirnov Andrey Smirnov authored on 29 Jan 2019
Sascha Hauer committed on 29 Jan 2019
Showing 15 changed files
View
fs/cramfs/cramfs.c
View
fs/devfs.c
View
fs/efi.c
View
fs/efivarfs.c
View
fs/ext4/ext_barebox.c
View
fs/fat/fat.c
View
fs/fs.c
View
fs/nfs.c
View
fs/omap4_usbbootfs.c
View
fs/ramfs.c
View
fs/ratpfs.c
View
fs/smhfs.c
View
fs/squashfs/squashfs.c
View
fs/tftp.c
View
fs/ubifs/ubifs.c