summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-26 16:37:58 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-26 19:27:18 -0400
commit12682d696bfeed434ce0abf5d1dd664e188ba81d (patch)
tree1a25abda10b3844275a7e76931451dd98e182b4d
parentb41d273b24f27ed95ac061660a97abbd4dea9c19 (diff)
exportfs: Change bcachefs fid_type enum to avoid conflicts
Per Amir Goldstein, the fid types that bcachefs picked conflicted with xfs and fuse, which previously were in use but not deviced in the master enum. Since bcachefs is still out of tree, we can move. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--include/linux/exportfs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h
index f49a7d31167e..f75e0914d40d 100644
--- a/include/linux/exportfs.h
+++ b/include/linux/exportfs.h
@@ -99,18 +99,18 @@ enum fid_type {
FILEID_FAT_WITH_PARENT = 0x72,
/*
- * 64 bit inode number, 32 bit subvolume, 32 bit generation number:
- */
- FILEID_BCACHEFS_WITHOUT_PARENT = 0x80,
- FILEID_BCACHEFS_WITH_PARENT = 0x81,
-
- /*
* 128 bit child FID (struct lu_fid)
* 128 bit parent FID (struct lu_fid)
*/
FILEID_LUSTRE = 0x97,
/*
+ * 64 bit inode number, 32 bit subvolume, 32 bit generation number:
+ */
+ FILEID_BCACHEFS_WITHOUT_PARENT = 0xb1,
+ FILEID_BCACHEFS_WITH_PARENT = 0xb2,
+
+ /*
* 64 bit unique kernfs id
*/
FILEID_KERNFS = 0xfe,