btrfs: code optimize: BTRFS_ATTR_RW could set the mode
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 30 Jul 2014 12:04:09 +0000 (20:04 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:59 +0000 (13:37 -0700)
commit20ee0825ecec889afdf12f7c13b9dc3af0bb9f14
treebad80d3fef77e61371739a629662a763c7bf0f2b
parent98b3d389eb473f28ef69547c0a9f72041c4c40e6
btrfs: code optimize: BTRFS_ATTR_RW could set the mode

BTRFS_ATTR_RW could set the mode and be inline with BTRFS_ATTR

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