summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Brauner <christian@brauner.io>2019-01-21 11:48:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 12:25:53 +0100
commit36975fc3e5f241cc4f45df4ab4624d7d5199d9ed (patch)
treec0efad63bf0a88ebedfe79a49e365844a4d066b0 /lib
parente98e6fa18636609f14a7f866524950a783cf4fbf (diff)
downloadlinux-36975fc3e5f241cc4f45df4ab4624d7d5199d9ed.tar.gz
linux-36975fc3e5f241cc4f45df4ab4624d7d5199d9ed.tar.bz2
linux-36975fc3e5f241cc4f45df4ab4624d7d5199d9ed.zip
binderfs: rework binderfs_fill_super()
Al pointed out that on binderfs_fill_super() error deactivate_locked_super() will call binderfs_kill_super() so all of the freeing and putting we currently do in binderfs_fill_super() is unnecessary and buggy. Let's simply return errors and let binderfs_fill_super() take care of cleaning up on error. 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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions