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)
commit2e3fcb1ccdbe7918006d509a531fcf8c9b10e9f8
tree348f6d0de88e6d2c29b846c6c487fc81082badb6
parent07c9a8e07771fce74620aa4f8132537196b8e43a
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