nfsd: distinguish functions of NFSD_MAY_* flags
authorJ. Bruce Fields <bfields@redhat.com>
Sun, 10 Apr 2011 14:35:12 +0000 (10:35 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 11 Apr 2011 12:42:03 +0000 (08:42 -0400)
Most of the NFSD_MAY_* flags actually request permissions, but over the
years we've accreted a few that modify the behavior of the permission or
open code in other ways.

Distinguish the two cases a little more.  In particular, allow the
shortcut at the start of nfsd_permission to ignore the
non-permission-requesting bits.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found