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)
commitde7243057e7cefa923fa5f467c0f1ec24eef41d2
tree2e9ba59bb433dd241c4fe8a028685ea842ec6cfe
parent8c110d43c6bca4b24dd13272a9d4e0ba6f2ec957
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