Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sunil Mushran and committed by
Joel Becker
8c0414cd 93654540

+2
+2
include/linux/fiemap.h
··· 62 62 #define FIEMAP_EXTENT_MERGED 0x00001000 /* File does not natively 63 63 * support extents. Result 64 64 * merged for efficiency. */ 65 + #define FIEMAP_EXTENT_SHARED 0x00002000 /* Space shared with other 66 + * files. */ 65 67 66 68 #endif /* _LINUX_FIEMAP_H */