From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [PATCH 4/7] vfs: Add ->statfs callback for pipefs Date: Thu, 21 Jul 2011 10:59:25 -0500 Message-ID: <20110721155925.GC19012@mail.hallyn.com> References: <4E204466.8010204@parallels.com> <4E2044D6.3060205@parallels.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4E2044D6.3060205-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Pavel Emelyanov Cc: Glauber Costa , Cyrill Gorcunov , Linux Containers , Nathan Lynch , Tejun Heo , Serge Hallyn , Daniel Lezcano List-Id: containers.vger.kernel.org Quoting Pavel Emelyanov (xemul-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org): > This is done to make it possible to distinguish pipes from fifos > when opening one via /proc//fd/ link. > > Signed-off-by: Pavel Emelyanov Acked-by: Serge Hallyn > > --- > fs/pipe.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/fs/pipe.c b/fs/pipe.c > index da42f7d..5de15de 100644 > --- a/fs/pipe.c > +++ b/fs/pipe.c > @@ -1254,6 +1254,7 @@ out: > > static const struct super_operations pipefs_ops = { > .destroy_inode = free_inode_nonrcu, > + .statfs = simple_statfs, > }; > > /* > -- > 1.5.5.6 > _______________________________________________ > Containers mailing list > Containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org > https://lists.linux-foundation.org/mailman/listinfo/containers