Thread (3 messages) 3 messages, 2 authors, 2017-07-13

Re: [PATCH] xfs_io: Print filesystem statfs flags in 'statfs' command

From: Carlos Maiolino <hidden>
Date: 2017-07-13 12:41:47

Ping?

On Mon, Jul 03, 2017 at 10:28:30AM +0200, Carlos Maiolino wrote:
quoted hunk ↗ jump to hunk
Sometimes printing the flags from the statfs structure is useful, so,
make statfs command print them.

Signed-off-by: Carlos Maiolino <redacted>
---
 io/stat.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/io/stat.c b/io/stat.c
index 783eb2e..060ff83 100644
--- a/io/stat.c
+++ b/io/stat.c
@@ -199,6 +199,7 @@ statfs_f(
 		printf(_("statfs.f_bavail = %lld\n"), (long long) st.f_bavail);
 		printf(_("statfs.f_files = %lld\n"), (long long) st.f_files);
 		printf(_("statfs.f_ffree = %lld\n"), (long long) st.f_ffree);
+		printf(_("statfs.f_fflags = 0x%llx\n"), (long long) st.f_flags);
 	}
 	if (file->flags & IO_FOREIGN)
 		return 0;
-- 
2.9.4

--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Carlos
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help