Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

FIGETBSZ: fix compat

it takes a pointer argument, regular file or no regular file

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Al Viro and committed by
Arnd Bergmann
ee26025f 6b2daec1

+1 -1
+1 -1
fs/compat_ioctl.c
··· 1036 1036 case FICLONERANGE: 1037 1037 case FIDEDUPERANGE: 1038 1038 case FS_IOC_FIEMAP: 1039 + case FIGETBSZ: 1039 1040 goto found_handler; 1040 1041 1041 1042 case FIBMAP: 1042 - case FIGETBSZ: 1043 1043 case FIONREAD: 1044 1044 if (S_ISREG(file_inode(f.file)->i_mode)) 1045 1045 break;