Btrfs: handle the space_cache option properly
commit0de90876c6cb774d4a424dafc1fc9ec50071b81b
authorJosef Bacik <josef@redhat.com>
Fri, 19 Nov 2010 13:40:41 +0000 (19 13:40 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 22 Nov 2010 03:26:05 +0000 (21 22:26 -0500)
treea3edae0a3873c959a94f45ee035de83bb85c379c
parent6f33434850ed87dc5e56b60ebbad3d3cf405f296
Btrfs: handle the space_cache option properly

When I added the clear_cache option I screwed up and took the break out of
the space_cache case statement, so whenever you mount with space_cache you also
get clear_cache, which does you no good if you say set space_cache in fstab so
it always gets set.  This patch adds the break back in properly.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/super.c