]> git.baikalelectronics.ru Git - 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)
commitf8556c4e4c93a8fed28925008ef6b1aaf03296b0
tree8094fbd582ea9db30f0fc6c807bae1474f52504c
parent69673aff50c050202a410a13c5cbd8f1c2aa30c5
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