Revert "nfsd: nfs4_file_get_access: need to be more careful with O_RDWR"

This reverts commit df66e75395.

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>
This commit is contained in:
J. Bruce Fields 2013-08-23 17:55:18 -04:00
commit 3477565e6a