diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-10 20:44:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-26 20:53:20 -0400 |
commit | 7f2da1e7d0330395e5e9e350b879b98a1ea495df (patch) | |
tree | adc01ced45bb1de10fe58511e7143bbbd138a192 /kernel/exit.c | |
parent | 8bb79224b87aab92071e94d46e70bd160d89bf34 (diff) |
[PATCH] kill altroot
long overdue...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 6cdf60712bd2..0caf590548a0 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -565,8 +565,6 @@ void put_fs_struct(struct fs_struct *fs) | |||
565 | if (atomic_dec_and_test(&fs->count)) { | 565 | if (atomic_dec_and_test(&fs->count)) { |
566 | path_put(&fs->root); | 566 | path_put(&fs->root); |
567 | path_put(&fs->pwd); | 567 | path_put(&fs->pwd); |
568 | if (fs->altroot.dentry) | ||
569 | path_put(&fs->altroot); | ||
570 | kmem_cache_free(fs_cachep, fs); | 568 | kmem_cache_free(fs_cachep, fs); |
571 | } | 569 | } |
572 | } | 570 | } |