commit | aea93397db4b39c9d15443a0e7cc9a380ba990c6 | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@redhat.com> | Sun Apr 10 10:35:12 2011 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon Apr 11 08:42:03 2011 -0400 |
tree | fe98a2b9f48b814c0d911d5ff1d700a7465f40d3 | |
parent | 8985ef0b8af895c3b85a8c1b7108e0169fcbd20b [diff] |
nfsd: distinguish functions of NFSD_MAY_* flags 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>