nfsd4: clean up S_IS -> NF4 file type mapping
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 15 Aug 2011 15:49:30 +0000 (11:49 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Aug 2011 22:22:47 +0000 (18:22 -0400)
commit3d2544b1e4909b6dffa0d140273628913e255e45
tree83985c81fdd869336b80dd03a3870f2f4faf448a
parent11fd165c68b73434ca1273e21f21db5eecc90926
nfsd4: clean up S_IS -> NF4 file type mapping

A slightly unconventional approach to make the code more compact I could
live with, but let's give the poor reader *some* chance.

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