]> git.karo-electronics.de Git - linux-beck.git/commit
nfsd: clean up nfsd_mode_check()
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 15 Aug 2011 21:04:19 +0000 (17:04 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Aug 2011 22:22:48 +0000 (18:22 -0400)
commite10f9e1413576f58c18b89f6ae212a37a88b24e7
treea943e2dea7c96c49e76a9ba4abb1521dff6ff004
parent7d818a7b8fc8d26c24ee44ed1c5dece69455a7b6
nfsd: clean up nfsd_mode_check()

Add some more comments, simplify logic, do & S_IFMT just once, name
"type" more helpfully.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsfh.c