]> 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)
commit55f1239c3b46a28e31c5e5cdd8ed3de45da2acbf
tree8094fbd582ea9db30f0fc6c807bae1474f52504c
parentd1a2598c2a36cdcee1a9e81466d33c37337d00d0
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