diff options
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
| -rw-r--r-- | fs/xfs/xfs_ioctl.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c index cdfb3cd9a25b..309958186d33 100644 --- a/fs/xfs/xfs_ioctl.c +++ b/fs/xfs/xfs_ioctl.c @@ -2363,7 +2363,10 @@ xfs_file_ioctl(  		if (error)  			return error; -		return xfs_icache_free_eofblocks(mp, &keofb); +		sb_start_write(mp->m_super); +		error = xfs_icache_free_eofblocks(mp, &keofb); +		sb_end_write(mp->m_super); +		return error;  	}  	default: |