projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3179e4
)
nfsd: remove stale comment in nfs4_show_deleg()
author
NeilBrown
<neilb@suse.de>
Tue, 30 Jan 2024 01:08:21 +0000
(12:08 +1100)
committer
Chuck Lever
<chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:17 +0000
(09:12 -0500)
As we do now support write delegations, this comment is unhelpful and
misleading.
Reported-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index 3a00e8cfeeb9070c70d6677e9d77e4ef9428adc7..d203d1d34e637faa018e2ff5f359d2f088d51ddb 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-2711,7
+2711,6
@@
static int nfs4_show_deleg(struct seq_file *s, struct nfs4_stid *st)
nfs4_show_stateid(s, &st->sc_stateid);
seq_printf(s, ": { type: deleg, ");
- /* Kinda dead code as long as we only support read delegs: */
seq_printf(s, "access: %s, ",
ds->dl_type == NFS4_OPEN_DELEGATE_READ ? "r" : "w");