btrfs: honor umask when creating subvol root
authorFlorian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
Fri, 10 Feb 2012 21:15:54 +0000 (22:15 +0100)
committerDavid Sterba <dsterba@suse.cz>
Thu, 16 Feb 2012 15:35:41 +0000 (16:35 +0100)
commit12fc9d0923ca70ae8960bccebac09d5c12f8c4d4
tree996a0e13d8e15e374144fa4f3d15680e0eada5b1
parent8a3344269465b26761b74493cfbeeaa75d821614
btrfs: honor umask when creating subvol root

Set the subvol root inode permissions based on the current umask.
fs/btrfs/inode.c