btrfs: sysfs label interface should check for read only FS
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 30 Jul 2014 12:04:10 +0000 (20:04 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:01 +0000 (13:38 -0700)
commit79aec2b80db1089f983d60e4a22cb95d8b939844
treeaf9e646054814b3f81be56e7e4393316376f1104
parent20ee0825ecec889afdf12f7c13b9dc3af0bb9f14
btrfs: sysfs label interface should check for read only FS

Not sure how this escaped many eyes so far

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