Btrfs: forced readonly when btrfs_drop_snapshot() fails
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Tue, 9 Aug 2011 07:11:13 +0000 (07:11 +0000)
committerChris Mason <chris.mason@oracle.com>
Wed, 17 Aug 2011 01:09:15 +0000 (21:09 -0400)
The filesystem turns readonly instead of returning the error to the
caller when detected error in btrfs_drop_snapshot().
and, because the caller doesn't check the error, the function type is
changed to 'void'.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found