Skip to content

Commit

Permalink
Reserve NFS fileid values for btrfs
Browse files Browse the repository at this point in the history
Purely cosmetic for now, but we might as well get it merged ASAP.

Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dwmw2 authored and torvalds committed Aug 20, 2008
1 parent 1c8e40e commit e4464fa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions include/linux/exportfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,27 @@ enum fid_type {
*/
FILEID_INO32_GEN_PARENT = 2,

/*
* 64 bit object ID, 64 bit root object ID,
* 32 bit generation number.
*/
FILEID_BTRFS_WITHOUT_PARENT = 0x4d,

/*
* 64 bit object ID, 64 bit root object ID,
* 32 bit generation number,
* 64 bit parent object ID, 32 bit parent generation.
*/
FILEID_BTRFS_WITH_PARENT = 0x4e,

/*
* 64 bit object ID, 64 bit root object ID,
* 32 bit generation number,
* 64 bit parent object ID, 32 bit parent generation,
* 64 bit parent root object ID.
*/
FILEID_BTRFS_WITH_PARENT_ROOT = 0x4f,

/*
* 32 bit block number, 16 bit partition reference,
* 16 bit unused, 32 bit generation number.
Expand Down

0 comments on commit e4464fa

Please sign in to comment.