summaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-06-12 22:01:21 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-06-12 23:45:36 +0200
commitdde194a64bb5c3fd05d965775dc92e8a4920a53a (patch)
tree2de96109524026f5e3b2bf6d9e3a6999716c8bde /lib/kobject.c
parentubifs: fix sget races (diff)
downloadlinux-dde194a64bb5c3fd05d965775dc92e8a4920a53a.tar.xz
linux-dde194a64bb5c3fd05d965775dc92e8a4920a53a.zip
afs: fix sget() races, close leak on umount
* set ->s_fs_info in set() callback passed to sget() * allocate the thing and set it up enough for afs_test_super() before making it visible * have it freed in ->kill_sb() (current tree simply leaks it) * have ->put_super() leave ->s_fs_info->volume alone; it's too early for dropping it; do that from ->kill_sb() after having called kill_anon_super(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions