summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-04-14 10:10:09 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-04-14 10:41:57 -0400
commit94d202d5ca39d0eb757d16ef2624b013fb64f64d (patch)
treefff1628a4f15c2c0a1b5f71aad228aa5804e1112 /fs/io-wq.c
parent09252177d5f924f404551b4b4eded5daa7f04a3a (diff)
downloadlinux-94d202d5ca39d0eb757d16ef2624b013fb64f64d.tar.gz
linux-94d202d5ca39d0eb757d16ef2624b013fb64f64d.tar.bz2
linux-94d202d5ca39d0eb757d16ef2624b013fb64f64d.zip
NFSv42: Copy offload should update the file size when appropriate
If the result of a copy offload or clone operation is to grow the destination file size, then we should update it. The reason is that when a client holds a delegation, it is authoritative for the file size. Fixes: 16abd2a0c124 ("NFSv4.2: fix client's attribute cache management for copy_file_range") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions