diff mbox

[1/2] xfs_io: stat: fix typo in statfs->f_flags

Message ID 20171117195457.16218-1-jeffm@suse.com (mailing list archive)
State Accepted
Headers show

Commit Message

Jeff Mahoney Nov. 17, 2017, 7:54 p.m. UTC
From: Jeff Mahoney <jeffm@suse.com>

The field name is f_flags.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 io/stat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Sandeen Nov. 20, 2017, 5:48 p.m. UTC | #1
On 11/17/17 1:54 PM, jeffm@suse.com wrote:
> From: Jeff Mahoney <jeffm@suse.com>
> 
> The field name is f_flags.
> 
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

> ---
>  io/stat.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/io/stat.c b/io/stat.c
> index 060ff833..6ab10abf 100644
> --- a/io/stat.c
> +++ b/io/stat.c
> @@ -199,7 +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);
> +		printf(_("statfs.f_flags = 0x%llx\n"), (long long) st.f_flags);
>  	}
>  	if (file->flags & IO_FOREIGN)
>  		return 0;
> 
--
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
diff mbox

Patch

diff --git a/io/stat.c b/io/stat.c
index 060ff833..6ab10abf 100644
--- a/io/stat.c
+++ b/io/stat.c
@@ -199,7 +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);
+		printf(_("statfs.f_flags = 0x%llx\n"), (long long) st.f_flags);
 	}
 	if (file->flags & IO_FOREIGN)
 		return 0;