diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-08-20 14:58:23 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-20 13:19:51 -0700 |
commit | e4464facd6f1404c2baeb6798d71e34423e7aeaa (patch) | |
tree | de7a18ed83f6717b1382397a9f710d7f64e170a6 | |
parent | 1c8e40e4064d51ec50258c4d381eb832c0b231db (diff) | |
download | linux-stable-e4464facd6f1404c2baeb6798d71e34423e7aeaa.tar.gz linux-stable-e4464facd6f1404c2baeb6798d71e34423e7aeaa.tar.bz2 linux-stable-e4464facd6f1404c2baeb6798d71e34423e7aeaa.zip |
Reserve NFS fileid values for btrfs
Purely cosmetic for now, but we might as well get it merged ASAP.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/exportfs.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h index f5abd1306638..27e772cefb6a 100644 --- a/include/linux/exportfs.h +++ b/include/linux/exportfs.h @@ -35,6 +35,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. */ |