btrfs: code optimize: BTRFS_ATTR could handle the mode
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 30 Jul 2014 12:04:08 +0000 (20:04 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:58 +0000 (13:37 -0700)
commit98b3d389eb473f28ef69547c0a9f72041c4c40e6
tree50cb465af49f0c2ebe023f34c3599310d6da4956
parent3f4b57e09d6cbd97f92311a801e1b83992506dcd
btrfs: code optimize: BTRFS_ATTR could handle the mode

All that uses BTRFS_ATTR want mode to be set at 0444 so just do
it at the define.  And few spacing alignments.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h