From: Bill O'Donnell <billodo@redhat.com>
To: Carlos Maiolino <cmaiolino@redhat.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH] xfs_io: Print filesystem statfs flags in 'statfs' command
Date: Thu, 13 Jul 2017 10:46:34 -0500 [thread overview]
Message-ID: <20170713154634.GA13105@redhat.com> (raw)
In-Reply-To: <20170703082830.22967-1-cmaiolino@redhat.com>
On Mon, Jul 03, 2017 at 10:28:30AM +0200, Carlos Maiolino wrote:
> Sometimes printing the flags from the statfs structure is useful, so,
> make statfs command print them.
>
> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
looks good.
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
> ---
> 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
prev parent reply other threads:[~2017-07-13 15:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 8:28 [PATCH] xfs_io: Print filesystem statfs flags in 'statfs' command Carlos Maiolino
2017-07-13 12:41 ` Carlos Maiolino
2017-07-13 15:46 ` Bill O'Donnell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170713154634.GA13105@redhat.com \
--to=billodo@redhat.com \
--cc=cmaiolino@redhat.com \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.