diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-05-08 22:44:57 +0200 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-05-18 03:40:13 +0200 |
commit | 73e1e61fb85ab206854b6d87ff31733628bb8d72 (patch) | |
tree | 99854e73bdd5fc3c38a0f85453b8259c7413530c /fs/btrfs/free-space-cache.c | |
parent | Btrfs: don't null pointer deref on abort (diff) | |
download | linux-73e1e61fb85ab206854b6d87ff31733628bb8d72.tar.xz linux-73e1e61fb85ab206854b6d87ff31733628bb8d72.zip |
Btrfs: remove warn on in free space cache writeout
This catches block groups that are too large to properly cache. We deal with
this case fine, so the warning just confuses users. Remove the warning.
Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
-rw-r--r-- | fs/btrfs/free-space-cache.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index ecca6c7375a6..6a8bb9c79674 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -920,10 +920,8 @@ static int __btrfs_write_out_cache(struct btrfs_root *root, struct inode *inode, /* Make sure we can fit our crcs into the first page */ if (io_ctl.check_crcs && - (io_ctl.num_pages * sizeof(u32)) >= PAGE_CACHE_SIZE) { - WARN_ON(1); + (io_ctl.num_pages * sizeof(u32)) >= PAGE_CACHE_SIZE) goto out_nospc; - } io_ctl_set_generation(&io_ctl, trans->transid); |