From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunil Mushran Subject: [PATCH 1/2] fiemap: Add new extent flag FIEMAP_EXTENT_SHARED Date: Thu, 3 Dec 2009 12:46:51 -0800 Message-ID: <1259873212-20107-2-git-send-email-sunil.mushran@oracle.com> References: <1259873212-20107-1-git-send-email-sunil.mushran@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com To: akpm@linux-foundation.org Return-path: In-Reply-To: <1259873212-20107-1-git-send-email-sunil.mushran@oracle.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com List-Id: linux-fsdevel.vger.kernel.org Patch adds flag FIEMAP_EXTENT_SHARED to denote extents that are shared with other inodes. Signed-off-by: Sunil Mushran Acked-by: Mark Fasheh --- include/linux/fiemap.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/fiemap.h b/include/linux/fiemap.h index 934e22d..d830747 100644 --- a/include/linux/fiemap.h +++ b/include/linux/fiemap.h @@ -62,5 +62,7 @@ struct fiemap { #define FIEMAP_EXTENT_MERGED 0x00001000 /* File does not natively * support extents. Result * merged for efficiency. */ +#define FIEMAP_EXTENT_SHARED 0x00002000 /* Space shared with other + * files. */ #endif /* _LINUX_FIEMAP_H */ -- 1.5.6.5