]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit5297e0f0fe13305a1fc7f01986be0dccd063d57a
treeb2ca0801594de4a97354a558f6a40dcc6ceb3cd6
parent46626600d120dc48ab605265677b858506a81011
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