]> git.baikalelectronics.ru Git - kernel.git/commit
fs/xfs: fix f_ffree value for statfs when project quota is set
authorYe Yin <dbyin@tencent.com>
Fri, 23 Nov 2018 17:55:18 +0000 (09:55 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 26 Nov 2018 23:01:37 +0000 (15:01 -0800)
commit6447019d05f84d6c2a715d8b4dc169d576a99dc7
tree2e9ba59bb433dd241c4fe8a028685ea842ec6cfe
parent534d0e2ca5e1250e9e6cb0e5ac051dcd23401042
fs/xfs: fix f_ffree value for statfs when project quota is set

When project is set, we should use inode limit minus the used count

Signed-off-by: Ye Yin <dbyin@tencent.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_qm_bhv.c