| To: | david@xxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH] xfs_repair: Check for invalid ACL types |
| From: | Andreas Gruenbacher <agruenba@xxxxxxxxxx> |
| Date: | Wed, 18 Nov 2015 14:09:45 +0100 |
| Cc: | Andreas Gruenbacher <agruenba@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1445909032-10974-1-git-send-email-agruenba@xxxxxxxxxx> |
| References: | <1445627828-14661-1-git-send-email-agruenba@xxxxxxxxxx> <1445627828-14661-5-git-send-email-agruenba@xxxxxxxxxx> <20151026225520.GK8773@dastard> <1445909032-10974-1-git-send-email-agruenba@xxxxxxxxxx> |
Here's a follow-up patch to test a filesystem for richacl support.
--
Subject: xfs_db: Report when richacls are supported
When the richacl incompatible filesystem feature is set, include the
word RICHACL in the output of "xfs_db [-r] -c version".
Signed-off-by: Andreas Gruenbacher <agruenba@xxxxxxxxxx>
---
db/sb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/db/sb.c b/db/sb.c
index 17d446c..ff6c1f8 100644
--- a/db/sb.c
+++ b/db/sb.c
@@ -690,6 +690,8 @@ version_string(
strcat(s, ",FTYPE");
if (xfs_sb_version_hasfinobt(sbp))
strcat(s, ",FINOBT");
+ if (xfs_sb_has_incompat_feature(sbp, XFS_SB_FEAT_INCOMPAT_RICHACL))
+ strcat(s, ",RICHACL");
if (xfs_sb_version_hassparseinodes(sbp))
strcat(s, ",SPARSE_INODES");
if (xfs_sb_version_hasmetauuid(sbp))
--
2.5.0
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v2 03/11] pmem: enable REQ_FUA/REQ_FLUSH handling, Jan Kara |
|---|---|
| Next by Date: | [XFSTESTS 1/6] check: Don't complain about missing tests/$FSTYP/group, Andreas Gruenbacher |
| Previous by Thread: | ÐÑÐÑÑÑ Ð ÑÐÐÑÐÐÐÐÑÑÑ ÐÑÐÐÐÑÐÑÑÐÐ Ð ÐÐÐÐÐÐ - ÑÑÐÑÑÐÐÐÐ ÐÐÐÑÐÐÑÐÐÐÐÐÐÑÐÑÐÐÐ ÐÐÑÑÐÐÑÐÐÑÑÐ, ÐÐÐÑÑÐÑÐ ÐÐÐÑÑÐÐÑ |
| Next by Thread: | [XFSTESTS 0/6] Richacl Tests, Andreas Gruenbacher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |