Trond Myklebust 00c94ebec5 NFSv4: Don't invalidate inode attributes on delegation return
There is no need to declare attributes such as the ctime, mtime and
block size invalid when we're just returning a delegation, so it is
inappropriate to call nfs_post_op_update_inode_force_wcc().
Instead, just call nfs_refresh_inode() after faking up the change
attribute. We know that the GETATTR op occurs before the DELEGRETURN, so
we are safe when doing this.

Fixes: 0bc2c9b4dca9 ("NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2022-04-25 20:55:03 -04:00
..
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2020-05-27 10:10:12 -04:00
2022-03-31 15:49:36 -07:00
2022-04-08 07:39:17 -10:00
2021-04-05 09:04:20 -04:00
2021-10-20 18:09:54 -04:00
2015-04-23 15:16:14 -04:00
2022-03-29 18:55:37 -07:00
2022-03-29 18:55:37 -07:00