]> git.hungrycats.org Git - linux/commit
[PATCH] Invalid notify_change(symlink, [ATTR_MODE]) in nfsd
authorNeil Brown <neilb@cse.unsw.edu.au>
Thu, 20 May 2004 01:28:38 +0000 (18:28 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 20 May 2004 01:28:38 +0000 (18:28 -0700)
commite6863f8bdca23fc1a3c5f9b7ec442585d72511a0
tree373ba7eafb04a97333381a84f449587660bc6fa8
parent37433f983c0900e9b570c56a3d3fc1b99c2dfa9e
[PATCH] Invalid notify_change(symlink, [ATTR_MODE]) in nfsd

Make sure NFS client doesn't see errors from mode setting on new symlinks.

When nfsd creates a symlink, it tries to set the mode as the mode is
carried in the NFS request and some filesystems store a mode.

If the filesystem refuses to set the mode (e.g. -EOPNOTSUPP), this
error should not be returned to the client.
fs/nfsd/vfs.c