Skip to content

Commit

Permalink
FIGETBSZ: fix compat
Browse files Browse the repository at this point in the history
it takes a pointer argument, regular file or no regular file

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
Al Viro authored and arndb committed Oct 23, 2019
1 parent 6b2daec commit ee26025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1036,10 +1036,10 @@ COMPAT_SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd,
case FICLONERANGE:
case FIDEDUPERANGE:
case FS_IOC_FIEMAP:
case FIGETBSZ:
goto found_handler;

case FIBMAP:
case FIGETBSZ:
case FIONREAD:
if (S_ISREG(file_inode(f.file)->i_mode))
break;
Expand Down

0 comments on commit ee26025

Please sign in to comment.