mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02: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:
parent
382e275f0e
commit
cc0cf84aa7
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user