[Devel] [PATCH hci-8.1 v3 3/5] xfs: release the balloon inode when xfs_balloon_get() refuses it

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Wed Nov 11 14:35:16 MSK 2026


> From: Denis V. Lunev <den at openvz.org>
> 
> xfs_balloon_get() looks the balloon inode up with xfs_iget() and returns
> -EINVAL when it is not a regular file or is immutable, without
> releasing the reference it took. Every statfs and every open of the
> balloon then leaks a reference on such an inode, which the VFS reports
> as a busy inode at unmount.
> 
> Release the inode before returning -EINVAL.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-153590
> 
> Feature: fs/xfs: fast online shrink support
> Signed-off-by: Denis V. Lunev <den at openvz.org>

This patch is unchanged since "[Devel] [PATCH hci-8.1 v2 1/3] xfs: release the balloon inode when xfs_balloon_get() refuses it", which Sashiko reviewed and found no issues in. That review applies to this posting unaltered, so the patch has not been reviewed again.

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261110222756.3236854-1-den@openvz.org?part=1




More information about the Devel mailing list