projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2daec
)
FIGETBSZ: fix compat
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 21 Apr 2019 23:03:29 +0000
(19:03 -0400)
committer
Arnd Bergmann
<arnd@arndb.de>
Wed, 23 Oct 2019 15:15:56 +0000
(17:15 +0200)
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>
fs/compat_ioctl.c
patch
|
blob
|
history
diff --git
a/fs/compat_ioctl.c
b/fs/compat_ioctl.c
index
e0226b2
..
a979b7d
100644
(file)
--- a/
fs/compat_ioctl.c
+++ b/
fs/compat_ioctl.c
@@
-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;