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)
commitaea93397db4b39c9d15443a0e7cc9a380ba990c6
treefe98a2b9f48b814c0d911d5ff1d700a7465f40d3
parent8985ef0b8af895c3b85a8c1b7108e0169fcbd20b
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>
fs/nfsd/vfs.c
fs/nfsd/vfs.h
This page took 0.035199 seconds and 5 git commands to generate.