| To: | xfs-oss <xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | Review: fix mount flags as printed by xfsidbg |
| From: | Donald Douwsma <donaldd@xxxxxxx> |
| Date: | Mon, 24 Sep 2007 19:20:25 +1000 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
The xfs mount flags have recently undergone some changes. Update the xfsidbg xmount command to print them correctly. Don --- 2.6.x-xfs.orig/fs/xfs/xfsidbg.c
+++ 2.6.x-xfs/fs/xfs/xfsidbg.c
@@ -6403,25 +6403,25 @@ xfsidbg_xmount(xfs_mount_t *mp)
static char *xmount_flags[] = {
"WSYNC", /* 0x0001 */
"INO64", /* 0x0002 */
- "UNUSED_4", /* 0x0004 */
- "UNUSED_8", /* 0x0008 */
+ "DMAPI", /* 0x0004 */
+ "WAS_CLEAN", /* 0x0008 */
"FSSHUTDOWN", /* 0x0010 */
"NOATIME", /* 0x0020 */
"RETERR", /* 0x0040 */
"NOALIGN", /* 0x0080 */
"ATTR2", /* 0x0100 */
- "UNUSED_200", /* 0x0200 */
+ "GRPID", /* 0x0200 */
"NORECOVERY", /* 0x0400 */
"SHARED", /* 0x0800 */
"DFLT_IOSIZE", /* 0x1000 */
"OSYNCISOSYNC", /* 0x2000 */
"32BITINODES", /* 0x4000 */
- "32BITINOOPT", /* 0x8000 */
+ "SMALL_INUMS", /* 0x8000 */
"NOUUID", /* 0x10000 */
"BARRIER", /* 0x20000 */
"IDELETE", /* 0x40000 */
"SWALLOC", /* 0x80000 */
- "UNUSED_100000", /* 0x100000 */
+ "RDONLY", /* 0x100000 */
"DIRSYNC", /* 0x200000 */
"COMPAT_IOSIZE",/* 0x400000 */
NULL |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Review: Fix xfsidbg.c compiler warnings on x86_64, Donald Douwsma |
|---|---|
| Next by Date: | Re: something very strange w/ filestreams..., Eric Sandeen |
| Previous by Thread: | Review: Fix xfsidbg.c compiler warnings on x86_64, Donald Douwsma |
| Next by Thread: | Re: Review: fix mount flags as printed by xfsidbg, Chris Wedgwood |
| Indexes: | [Date] [Thread] [Top] [All Lists] |