Skip to content

Commit

Permalink
fiemap: Add new extent flag FIEMAP_EXTENT_SHARED
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sunil Mushran authored and Joel Becker committed Dec 18, 2009
1 parent 9365454 commit 8c0414c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/fiemap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 8c0414c

Please sign in to comment.