diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2009-12-03 15:46:51 -0500 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-12-17 23:55:57 -0500 |
commit | 8c0414cd524e9f1c483ffb3ff1c2d860f5c567c8 (patch) | |
tree | 881d2c2deca2fd5c614d44578894103fa023ae16 /include | |
parent | 936545401624217955df4dd44bb71615900e5397 (diff) |
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 <sunil.mushran@oracle.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | 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 934e22d65801..d830747f5c0b 100644 --- a/include/linux/fiemap.h +++ b/include/linux/fiemap.h | |||
@@ -62,5 +62,7 @@ struct fiemap { | |||
62 | #define FIEMAP_EXTENT_MERGED 0x00001000 /* File does not natively | 62 | #define FIEMAP_EXTENT_MERGED 0x00001000 /* File does not natively |
63 | * support extents. Result | 63 | * support extents. Result |
64 | * merged for efficiency. */ | 64 | * merged for efficiency. */ |
65 | #define FIEMAP_EXTENT_SHARED 0x00002000 /* Space shared with other | ||
66 | * files. */ | ||
65 | 67 | ||
66 | #endif /* _LINUX_FIEMAP_H */ | 68 | #endif /* _LINUX_FIEMAP_H */ |