diff options
Diffstat (limited to 'fs/btrfs/file.c')
| -rw-r--r-- | fs/btrfs/file.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 7e85dca0e6f2..9dbea72a61fe 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -2554,10 +2554,8 @@ static int btrfs_punch_hole(struct inode *inode, loff_t offset, loff_t len)  	ret = btrfs_punch_hole_lock_range(inode, lockstart, lockend,  					  &cached_state); -	if (ret) { -		inode_unlock(inode); +	if (ret)  		goto out_only_mutex; -	}  	path = btrfs_alloc_path();  	if (!path) { | 
