nfsd4: return nfserr_symlink on v4 OPEN of non-regular file
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 15 Aug 2011 20:55:02 +0000 (16:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Aug 2011 17:25:32 +0000 (13:25 -0400)
commitaadab6c6f4da38d639394de740602f146c88da0c
treedb196583b8e277dec6830a8553770e6c5d1568b3
parent576163005de286bbd418fcb99cfd0971523a0c6d
nfsd4: return nfserr_symlink on v4 OPEN of non-regular file

Without this, an attempt to open a device special file without first
stat'ing it will fail.

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