Skip to content

Commit 80479eb

Browse files
author
J. Bruce Fields
committed
nfsd4: remove obselete comment
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>
1 parent 6d91929 commit 80479eb

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

fs/nfsd/vfs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -730,9 +730,6 @@ __nfsd_open(struct svc_rqst *rqstp, struct svc_fh *fhp, umode_t type,
730730
path.dentry = fhp->fh_dentry;
731731
inode = d_inode(path.dentry);
732732

733-
/* Disallow write access to files with the append-only bit set
734-
* or any access when mandatory locking enabled
735-
*/
736733
err = nfserr_perm;
737734
if (IS_APPEND(inode) && (may_flags & NFSD_MAY_WRITE))
738735
goto out;

0 commit comments

Comments
 (0)