Commit ee26025f authored by Al Viro's avatar Al Viro Committed by Arnd Bergmann
Browse files

FIGETBSZ: fix compat



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

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 6b2daec1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;