diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-14 10:10:09 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-14 10:41:57 -0400 |
commit | 94d202d5ca39d0eb757d16ef2624b013fb64f64d (patch) | |
tree | fff1628a4f15c2c0a1b5f71aad228aa5804e1112 /fs/btrfs/extent_io.c | |
parent | 09252177d5f924f404551b4b4eded5daa7f04a3a (diff) | |
download | linux-stable-94d202d5ca39d0eb757d16ef2624b013fb64f64d.tar.gz linux-stable-94d202d5ca39d0eb757d16ef2624b013fb64f64d.tar.bz2 linux-stable-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/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions