diff options
| author | Kaixu Xia <[email protected]> | 2020-04-22 21:54:28 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-05-04 09:03:14 -0700 |
| commit | fb353ff19d34e9b0ee8ba2b25d78aeab0436f479 (patch) | |
| tree | 8e8d8d2d8c0c37fea1d368f5630db4631d4fd617 /tools/perf/scripts/python | |
| parent | d51bafe0d227e9fef1b0ab4cc1a424d8e2b59218 (diff) | |
xfs: reserve quota inode transaction space only when needed
We share an inode between gquota and pquota with the older
superblock that doesn't have separate pquotino, and for the
need_alloc == false case we don't need to call xfs_dir_ialloc()
function, so add the check if reserved free disk blocks is
needed.
Signed-off-by: Kaixu Xia <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions