projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
382e275
)
xfs: mark quota inodes as metadata files
author
Darrick J. Wong
<djwong@kernel.org>
Mon, 4 Nov 2024 04:18:55 +0000
(20:18 -0800)
committer
Darrick J. Wong
<djwong@kernel.org>
Tue, 5 Nov 2024 21:38:32 +0000
(13:38 -0800)
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>
fs/xfs/xfs_qm.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_qm.c
b/fs/xfs/xfs_qm.c
index
ec983cc
..
b94d6f1
100644
(file)
--- a/
fs/xfs/xfs_qm.c
+++ b/
fs/xfs/xfs_qm.c
@@
-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);
}
/*