Trond Myklebust
d34f9bbc1d
NFSv4: Don't invalidate inode attributes on delegation return
...
commit 00c94ebec5925593c0377b941289224469e72ac7 upstream.
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: 0bc2c9b4dc ("NFSv4: Don't discard the attributes returned by asynchronous DELEGRETURN")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2022-05-12 12:30:15 +02:00
..
2021-02-26 15:49:51 -07:00
2021-05-20 12:17:08 -04:00
2021-11-18 19:17:00 +01:00
2022-04-08 14:23:54 +02:00
2022-04-08 14:23:48 +02:00
2021-08-10 14:18:35 -04:00
2022-02-16 12:56:08 +01:00
2022-02-16 12:56:09 +01:00
2021-06-13 19:36:28 -04:00
2021-06-13 19:36:27 -04:00
2022-04-13 20:59:15 +02:00
2022-04-13 20:59:13 +02:00
2020-05-27 10:10:12 -04:00
2021-08-26 15:32:10 -04:00
2022-04-13 20:59:12 +02:00
2021-08-27 16:37:17 -04:00
2020-01-15 10:54:30 -05:00
2021-07-08 14:03:26 -04:00
2020-01-15 10:54:30 -05:00
2021-06-28 09:34:39 -04:00
2022-04-13 20:59:14 +02:00
2022-04-13 20:59:15 +02:00
2021-04-05 09:04:20 -04:00
2021-03-08 11:47:47 -05:00
2020-07-13 17:52:46 -04:00
2021-04-05 09:04:21 -04:00
2021-05-27 09:19:33 -04:00
2019-07-06 14:54:49 -04:00
2019-05-21 10:50:45 +02:00
2022-04-08 14:23:46 +02:00
2021-08-18 22:08:24 +02:00
2021-08-18 22:08:24 +02:00
2020-01-15 10:15:17 -05:00
2021-08-27 16:36:21 -04:00
2019-05-21 10:50:45 +02:00
2022-04-08 14:23:46 +02:00
2022-02-16 12:56:10 +01:00
2022-02-16 12:56:08 +01:00
2022-04-13 20:59:15 +02:00
2021-11-18 19:17:02 +01:00
2022-02-16 12:56:10 +01:00
2022-05-12 12:30:15 +02:00
2021-05-07 00:26:34 -07:00
2019-05-21 10:50:45 +02:00
2020-12-14 06:51:07 -05:00
2022-04-13 20:59:12 +02:00
2021-01-10 13:32:39 -05:00
2020-01-15 10:54:33 -05:00
2021-06-30 09:19:14 -04:00
2022-02-16 12:56:09 +01:00
2020-07-13 17:52:45 -04:00
2022-04-13 20:59:11 +02:00
2021-04-05 09:04:20 -04:00
2021-12-01 09:04:47 +01:00
2020-11-02 10:29:03 -05:00
2021-04-14 09:36:29 -04:00
2021-07-03 11:41:14 -07:00
2022-04-13 20:59:13 +02:00
2020-12-16 17:25:24 -05:00
2022-04-13 20:59:13 +02:00
2022-04-08 14:23:54 +02:00
2022-04-08 14:23:54 +02:00
2022-04-08 14:22:52 +02:00
2021-08-30 13:21:38 -04:00
2021-08-27 16:37:17 -04:00
2019-05-09 16:26:57 -04:00
2020-10-15 13:31:08 -04:00
2020-10-15 13:31:08 -04:00
2021-03-08 16:13:55 -05:00
2022-04-13 20:59:13 +02:00