]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Print Warning only if ENOSPC_DEBUG is enabled
authorAshish Samant <ashish.samant@oracle.com>
Fri, 11 Mar 2016 22:54:05 +0000 (14:54 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2016 13:59:54 +0000 (14:59 +0100)
commitf75a97780b6d566fa99c6506a0dfd49bc0332b1d
tree348f6d0de88e6d2c29b846c6c487fc81082badb6
parentfa624b40ccf77ef8377858b250764c24849ed1a0
btrfs: Print Warning only if ENOSPC_DEBUG is enabled

Dont print warning for ENOSPC error unless ENOSPC_DEBUG is enabled. Use
btrfs_debug if it is enabled.

Signed-off-by: Ashish Samant <ashish.samant@oracle.com>
[ preserve the WARN_ON ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c