mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
[PATCH] kill altroot
long overdue... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
8bb79224b8
commit
7f2da1e7d0
31 changed files with 5 additions and 466 deletions
|
@ -565,8 +565,6 @@ void put_fs_struct(struct fs_struct *fs)
|
|||
if (atomic_dec_and_test(&fs->count)) {
|
||||
path_put(&fs->root);
|
||||
path_put(&fs->pwd);
|
||||
if (fs->altroot.dentry)
|
||||
path_put(&fs->altroot);
|
||||
kmem_cache_free(fs_cachep, fs);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue