diff options
| author | Latchesar Ionkov <[email protected]> | 2005-09-22 21:43:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-09-22 22:17:33 -0700 |
| commit | f71626a461e7d4af099ca71830ea530e96c22e11 (patch) | |
| tree | 69cc1ef26c39887a938618d8e8a6f788ae8b4488 /scripts/basic/split-include.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 <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions