btrfs: simpilify btrfs_subvol_inherit_props
authorJeff Mahoney <jeffm@suse.com>
Fri, 10 Jun 2016 21:03:59 +0000 (17:03 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:54:22 +0000 (13:54 +0200)
commitbd6c57dda666868abb222c1fa48e72f81db20e70
treebbdbbc50e46a2f9562ca647434d2112d6481717e
parentf5ee5c9ac56cd328fcc915582f81226affebd81c
btrfs: simpilify btrfs_subvol_inherit_props

We just need a superblock, but we look it up using two different
roots depending on the call site.  Let's just use a superblock
pointer initialized at the outset.

This is mostly for Coccinelle not to choke on my root push up set.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/props.c