summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-02-24 15:07:44 +0300
committerChris Mason <clm@fb.com>2015-04-13 17:27:35 +0300
commit18d018ad2c899d3d9c503c25125d56046ed7d3ca (patch)
treebfb706643c6d3c6e7e986ad5a45741d186207490 /fs/btrfs/inode.c
parentc30666d466c70a30491e45dd8d068360f9dd7693 (diff)
downloadlinux-18d018ad2c899d3d9c503c25125d56046ed7d3ca.tar.xz
btrfs: add WARN_ON() to check is space_info op current
space_info's value calculation is some complex and easy to cause bug, add WARN_ON() to help debug. Changelog v1->v2: Put WARN_ON()s under the ENOSPC_DEBUG mount option. Suggested by: David Sterba <dsterba@suse.cz> Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions