aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2018-04-14 01:16:58 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2018-04-15 23:36:26 -0400
commit22762711479959754e005f5bb8e6abc37bf9e0ba (patch)
tree5d68bdb49a6908d061fe46a1c3c084708a35d286 /net
parentLinux 4.17-rc1 (diff)
downloadlinux-dev-22762711479959754e005f5bb8e6abc37bf9e0ba.tar.xz
linux-dev-22762711479959754e005f5bb8e6abc37bf9e0ba.zip
fs: avoid fdput() after failed fdget() in vfs_dedupe_file_range()
It's a fairly inconsequential bug, since fdput() won't actually try to fput() the file due to fd.flags (and thus FDPUT_FPUT) being zero in the failure case, but most other vfs code takes steps to avoid this. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions