btrfs: add readonly flag
authorArne Jansen <sensille@gmx.net>
Wed, 23 Mar 2011 15:34:19 +0000 (16:34 +0100)
committerArne Jansen <sensille@gmx.net>
Thu, 12 May 2011 12:48:31 +0000 (14:48 +0200)
commit8628764e1a5e1998a42b9713e9edea7753653d01
tree19c88f4d4eb806f7d5de83a1fc36996658ace17d
parent96e369208e65a7d017a52361fd572df41fde8472
btrfs: add readonly flag

setting the readonly flag prevents writes in case an error is detected

Signed-off-by: Arne Jansen <sensille@gmx.net>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/ioctl.h
fs/btrfs/scrub.c