From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756331Ab1HGVW0 (ORCPT ); Sun, 7 Aug 2011 17:22:26 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:44278 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755305Ab1HGVWZ (ORCPT ); Sun, 7 Aug 2011 17:22:25 -0400 Date: Mon, 8 Aug 2011 01:22:22 +0400 From: Cyrill Gorcunov To: Nathan Lynch , Oren Laadan , Daniel Lezcano , Serge Hallyn , Tejun Heo , Andrew Morton Cc: Glauber Costa , containers@lists.osdl.org, linux-kernel@vger.kernel.org, Pavel Emelyanov , Serge Hallyn , Cyrill Gorcunov Subject: [patch 4/4] vfs: Add ->statfs callback for pipefs Message-ID: <20110807212221.GH2080@sun> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pavel Emelyanov This is done to make it possible to distinguish pipes from fifos when opening one via /proc//fd/ link. Signed-off-by: Pavel Emelyanov Reviewed-by: Tejun Heo Acked-by: Serge Hallyn Signed-off-by: Cyrill Gorcunov --- fs/pipe.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.git/fs/pipe.c =================================================================== --- linux-2.6.git.orig/fs/pipe.c +++ linux-2.6.git/fs/pipe.c @@ -1254,6 +1254,7 @@ out: static const struct super_operations pipefs_ops = { .destroy_inode = free_inode_nonrcu, + .statfs = simple_statfs, }; /*