• Andrew Morton's avatar
    [PATCH] nfsd: deleting symlinks over nfs causes oops on unmount · 3d61e387
    Andrew Morton authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    3d61e387
vfs.c 38.3 KB