diff options
author | Latchesar Ionkov <lucho@ionkov.net> | 2005-09-22 21:43:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-22 22:17:33 -0700 |
commit | f71626a461e7d4af099ca71830ea530e96c22e11 (patch) | |
tree | 69cc1ef26c39887a938618d8e8a6f788ae8b4488 /fs/binfmt_elf.c | |
parent | a1f9d8d23fef301ba0c0b4983e0aa947168e1c37 (diff) |
[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/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions