fs: devfs: Change .lseek callbacks to return 'int'
Returning requested offset from .lseek() callback doesn't really give us any new information while bringing unnecessary complications. Change all .lseek() types (both in struct struct cdev_operations and in struct fs_driver_d) to return 'int' and adjust the rest of the codebase accordingly. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/mtd/nand/nand-bb.c |
---|
drivers/mtd/ubi/barebox.c |
---|
fs/bpkfs.c |
---|
fs/devfs.c |
---|
fs/efi.c |
---|
fs/fat/fat.c |
---|
fs/fs.c |
---|
fs/nfs.c |
---|
fs/pstore/fs.c |
---|
fs/smhfs.c |
---|
fs/tftp.c |
---|
fs/uimagefs.c |
---|
include/driver.h |
---|
include/fs.h |
---|