From: Sunil Mushran Date: Thu, 3 Dec 2009 20:46:51 +0000 (-0800) Subject: fiemap: Add new extent flag FIEMAP_EXTENT_SHARED X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c0414cd524e9f1c483ffb3ff1c2d860f5c567c8;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git fiemap: Add new extent flag FIEMAP_EXTENT_SHARED Some filesystems may allow multiple files to point to a particular extent. This patch adds flag FIEMAP_EXTENT_SHARED to denote extents that are shared with other inodes. Signed-off-by: Sunil Mushran Acked-by: Mark Fasheh Signed-off-by: Joel Becker --- diff --git a/include/linux/fiemap.h b/include/linux/fiemap.h index 934e22d65801..d830747f5c0b 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 */