mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
xfs: mark quota inodes as metadata files
When we're creating quota files at mount time, make sure to mark them as metadir inodes if appropriate. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -824,6 +824,8 @@ xfs_qm_qino_alloc(
|
||||
xfs_trans_cancel(tp);
|
||||
return error;
|
||||
}
|
||||
if (xfs_has_metadir(mp))
|
||||
xfs_metafile_set_iflag(tp, *ipp, metafile_type);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user