]> git.hungrycats.org Git - linux/commit
[PATCH] nfsd: deleting symlinks over nfs causes oops on unmount
authorAndrew Morton <akpm@osdl.org>
Thu, 27 May 2004 00:36:46 +0000 (17:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 27 May 2004 00:36:46 +0000 (17:36 -0700)
commit3d61e38740b49885e4b13ef6501b9ecc6432e4df
tree09f721f0a6d9dbaa8a3924f95ed3b7bf83a665d4
parent3b15e36b41c2ecf91293ec67ae453fb7199c096e
[PATCH] nfsd: deleting symlinks over nfs causes oops on unmount

From: "J. Bruce Fields" <bfields@fieldses.org>
From: Neil Brown <neilb@cse.unsw.edu.au>

This fixes an oops on unmount (failure of the assertation at
fs/ext3/super.c:421).  Probably reproduceable just by creating and deleting a
single symlink over nfs and then unmounting the exported filesystem.

Recent change to fh_compose means dentry reference is *not* consumed, and so
usually has to be explicitly dput afterwards.  One usage was missed in that
patch, so this dput is needed.

Signed-off-by: Andrew Morton <akpm@osdl.org>
fs/nfsd/vfs.c