]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
binderfs: kill_litter_super() before cleanup
authorChristian Brauner <christian@brauner.io>
Mon, 21 Jan 2019 10:48:06 +0000 (11:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 11:25:53 +0000 (12:25 +0100)
commit4198479524aeccaf53c3a4cc73784982535573fa
tree8094fbd582ea9db30f0fc6c807bae1474f52504c
parent01b3f1fc568352a1ffdcd3ee82a0297f16cc9bd9
binderfs: kill_litter_super() before cleanup

Al pointed out that first calling kill_litter_super() before cleaning up
info is more correct since destroying info doesn't depend on the state of
the dentries and inodes. That the opposite remains true is not guaranteed.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christian Brauner <christian@brauner.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binderfs.c