diff options
author | David Howells <dhowells@redhat.com> | 2019-05-14 11:44:26 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-16 16:25:21 +0100 |
commit | 4571577f16c82f8db8133b228cdca5fd61042c77 (patch) | |
tree | 70bf2518622a0b4d0c172f7ebbd05a193805224d /fs/afs/yfsclient.c | |
parent | 87182759cd6f94875d6aaaac74eaa52aa6aa6f98 (diff) | |
download | lwn-4571577f16c82f8db8133b228cdca5fd61042c77.tar.gz lwn-4571577f16c82f8db8133b228cdca5fd61042c77.zip |
afs: Always get the reply time
Always ask for the reply time from AF_RXRPC as it's used to calculate the
callback expiry time and lock expiry times, so it's needed by most FS
operations.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/yfsclient.c')
-rw-r--r-- | fs/afs/yfsclient.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/afs/yfsclient.c b/fs/afs/yfsclient.c index 1f1ccf7b7822..b3ee99972d2f 100644 --- a/fs/afs/yfsclient.c +++ b/fs/afs/yfsclient.c @@ -695,7 +695,6 @@ int yfs_fs_fetch_data(struct afs_fs_cursor *fc, struct afs_read *req) call->out_volsync = NULL; call->read_request = req; call->expected_version = vnode->status.data_version; - call->want_reply_time = true; /* marshall the parameters */ bp = call->request; @@ -1847,7 +1846,6 @@ int yfs_fs_set_lock(struct afs_fs_cursor *fc, afs_lock_type_t type) call->key = fc->key; call->xvnode = vnode; - call->want_reply_time = true; /* marshall the parameters */ bp = call->request; @@ -1886,7 +1884,6 @@ int yfs_fs_extend_lock(struct afs_fs_cursor *fc) call->key = fc->key; call->xvnode = vnode; - call->want_reply_time = true; /* marshall the parameters */ bp = call->request; |