]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: fix return type of ioctl_file_dedupe_range
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 15 Sep 2016 03:20:00 +0000 (20:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Sep 2016 20:29:52 +0000 (13:29 -0700)
commite864d65b825ba6f83c483950b7719e1311d7f10f
treeb2ca0801594de4a97354a558f6a40dcc6ceb3cd6
parent1a431e44357195c0c424347ea9468f0cc974b21d
vfs: fix return type of ioctl_file_dedupe_range

All the VFS functions in the dedupe ioctl path return int status, so
the ioctl handler ought to as well.

Found by Coverity, CID 1350952.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ioctl.c