Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4464fac authored by David Woodhouse's avatar David Woodhouse Committed by Linus Torvalds
Browse files

Reserve NFS fileid values for btrfs



Purely cosmetic for now, but we might as well get it merged ASAP.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1c8e40e4
Loading
Loading
Loading
Loading
+21 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,27 @@ enum fid_type {
	 */
	 */
	FILEID_INO32_GEN_PARENT = 2,
	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,
	 * 32 bit block number, 16 bit partition reference,
	 * 16 bit unused, 32 bit generation number.
	 * 16 bit unused, 32 bit generation number.