btrfs: use BTRFS_ATTR instead of btrfs_no_store()
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 30 Jul 2014 12:04:07 +0000 (20:04 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:57 +0000 (13:37 -0700)
commit3f4b57e09d6cbd97f92311a801e1b83992506dcd
tree02fe2d81c35a651061a1802d7687639f7dcd5226
parent160f4089c8580b32b5805e7fd8ec7b3810f442c1
btrfs: use BTRFS_ATTR instead of btrfs_no_store()

we have BTRFS_ATTR define to create sysfs RO file, use that.

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