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> |
---|
|
fs/cramfs/cramfs.c |
---|
fs/devfs.c |
---|
fs/efi.c |
---|
fs/efivarfs.c |
---|
fs/ext4/ext_barebox.c |
---|
fs/fat/fat.c |
---|
fs/fs.c |
---|
fs/nfs.c |
---|
fs/omap4_usbbootfs.c |
---|
fs/ramfs.c |
---|
fs/ratpfs.c |
---|
fs/smhfs.c |
---|
fs/squashfs/squashfs.c |
---|
fs/tftp.c |
---|
fs/ubifs/ubifs.c |
---|