summaryrefslogtreecommitdiff
path: root/fs/compat_ioctl.c
diff options
context:
space:
mode:
authorLatchesar Ionkov <lucho@ionkov.net>2005-09-23 08:43:53 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-23 09:17:33 +0400
commitf71626a461e7d4af099ca71830ea530e96c22e11 (patch)
tree69cc1ef26c39887a938618d8e8a6f788ae8b4488 /fs/compat_ioctl.c
parenta1f9d8d23fef301ba0c0b4983e0aa947168e1c37 (diff)
downloadlinux-f71626a461e7d4af099ca71830ea530e96c22e11.tar.xz
[PATCH] v9fs: don't free root dentry & inode if error occurs in v9fs_get_sb
If error occurs while in v9fs_get_sb after it calles sget, the dentry object of the root and its inode may be freed twice -- once while handling the error in v9fs_get_sb, and second time when v9fs_get_sb calles deactivate_super (which in turn calls v9fs_kill_super) The patch removes the unnecessary code that frees the root dentry and its inode. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> Cc: Eric Van Hensbergen <ericvh@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions