vfs: no mnt_want_write_file() in vfs_{copy,clone}_file_range()
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:54 +0000 (11:02 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:54 +0000 (11:02 +0100)
commit3616119da484699e7045957c009c13d778563874
tree5723a2a32b457559ee898101c18c5ff5aaf9b8ea
parent8d3e2936375bacce6abacbce3917d667e4133409
vfs: no mnt_want_write_file() in vfs_{copy,clone}_file_range()

We've checked for file_out being opened for write.  This ensures that we
already have mnt_want_write() on target.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/read_write.c