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:
6d91929
)
nfsd4: remove obselete comment
author
J. Bruce Fields
<bfields@redhat.com>
Tue, 26 Oct 2021 16:56:55 +0000
(12:56 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 1 Nov 2021 21:17:14 +0000
(17:17 -0400)
Mandatory locking has been removed. And the rest of this comment is
redundant with the code.
Reported-by: Jeff layton <jlayton@kernel.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/vfs.c
b/fs/nfsd/vfs.c
index 5c76d68135172808b085150f8e36e5d5154d6228..c99857689e2c2ab5dec2d4fff53c15d1d05ecfd7 100644
(file)
--- a/
fs/nfsd/vfs.c
+++ b/
fs/nfsd/vfs.c
@@
-730,9
+730,6
@@
__nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type,
path.dentry = fhp->fh_dentry;
inode = d_inode(path.dentry);
- /* Disallow write access to files with the append-only bit set
- * or any access when mandatory locking enabled
- */
err = nfserr_perm;
if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE))
goto out;