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>
This commit is contained in:
Ashish Samant 2016-03-11 14:54:05 -08:00 • committed by David Sterba
commit 2e3fcb1ccd