From: chrubis-AlSwsSmVLrQ@public.gmane.org
To: "Michael Kerrisk (man-pages)"
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] statfs.2: Update + Note for pipe() fds
Date: Tue, 10 Jun 2014 23:29:40 +0200 [thread overview]
Message-ID: <20140610212940.GA22111@rei.Home> (raw)
In-Reply-To: <53976A4D.1010501-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi!
> > * Update MAGIC constants, most of them are taken from
> > /usr/include/linux/magic.h, some were found by grepping Linux source.
> >
> > * Add note about fstatfs(2) broken on fd from pipe(2) between
> > 2.6.38 and 3.2
>
> I moved that patch piece to a (new) BUGS section.
>
> Looking at the following:
>
> $ git describe --contains ff0c7d15f9787b7e8c601533c01529
> v2.6.38-rc1~60^2~30
> $ git describe --contains d70ef97baf048412c395bb5d65791d
> v3.2-rc1~108^2~56
>
> The breakage was from 2.6.38 to 3.1, right? (3.2 fixed things.)
> I reworded a little.
Ah, right. Sorry for the off by one mistake.
> And I just want to check. Was it really ff0c7d15f9787b7e8c601533c01529
> that caused the breakage? At a quick glance, that patch looks
> unrelated, but perhaps something very subtle is going on...
Yep, it took me a while to notice. If you pass NULL as super_operations
to mount_pseudo() function, which was the case before the patch, default
structure super_operations (with contains only simple_statfs) is used
(have a look at mount_pseudo() in fs/libfs.c). This patch added
pipefs_ops without the statfs callback and passed it instead of the
NULL.
--
Cyril Hrubis
chrubis-AlSwsSmVLrQ@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-06-10 21:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-10 16:04 [PATCH] statfs.2: Update + Note for pipe() fds Cyril Hrubis
[not found] ` <20140610160416.GA20354-HSzIOc4LzcM@public.gmane.org>
2014-06-10 20:27 ` Michael Kerrisk (man-pages)
[not found] ` <53976A4D.1010501-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-10 21:29 ` chrubis-AlSwsSmVLrQ [this message]
[not found] ` <20140610212940.GA22111-HSzIOc4LzcM@public.gmane.org>
2014-06-11 5:22 ` Michael Kerrisk (man-pages)
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=20140610212940.GA22111@rei.Home \
--to=chrubis-alswssmvlrq@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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.