Revert "nfsd: nfs4_file_get_access: need to be more careful with O_RDWR"
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 23 Aug 2013 21:55:18 +0000 (17:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 Aug 2013 21:30:45 +0000 (17:30 -0400)
This reverts commit df66e75395c839c3a373bae897dbb1248f741b45.

nfsd4_lock can get a read-only or write-only reference when only a
read-write open is available.  This is normal.

Cc: Harshula Jayasuriya <harshula@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

Simple merge