aboutsummaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorGravatar NeilBrown <neilb@suse.de> 2024-01-30 12:08:21 +1100
committerGravatar Chuck Lever <chuck.lever@oracle.com> 2024-03-01 09:12:17 -0500
commit6b4ca49dc310d107f36642c39b2c9e3fbf8ba3c9 (patch)
treee5e61cbcb3e6bf1d3aa5ac77f0d27406d603d2d7 /fs/nfsd
parentNFSD: Remove redundant cb_seq_status initialization (diff)
downloadlinux-6b4ca49dc310d107f36642c39b2c9e3fbf8ba3c9.tar.gz
linux-6b4ca49dc310d107f36642c39b2c9e3fbf8ba3c9.tar.bz2
linux-6b4ca49dc310d107f36642c39b2c9e3fbf8ba3c9.zip
nfsd: remove stale comment in nfs4_show_deleg()
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>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 3a00e8cfeeb9..d203d1d34e63 100644
--- 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");