aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/magic.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-10-09 12:00:56 -0400
committerChris Mason <chris.mason@fusionio.com>2013-11-11 21:56:51 -0500
commit294e30fee35d3151d100cfe59e839c2dbc16a374 (patch)
tree3906ec3d135ec29dc7700f8e35e494909b210848 /include/uapi/linux/magic.h
parentBtrfs: free reserved space on error in a few places (diff)
downloadwireguard-linux-294e30fee35d3151d100cfe59e839c2dbc16a374.tar.xz
wireguard-linux-294e30fee35d3151d100cfe59e839c2dbc16a374.zip
Btrfs: add tests for find_lock_delalloc_range
So both Liu and I made huge messes of find_lock_delalloc_range trying to fix stuff, me first by fixing extent size, then him by fixing something I broke and then me again telling him to fix it a different way. So this is obviously a candidate for some testing. This patch adds a pseudo fs so we can allocate fake inodes for tests that need an inode or pages. Then it addes a bunch of tests to make sure find_lock_delalloc_range is acting the way it is supposed to. With this patch and all of our previous patches to find_lock_delalloc_range I am sure it is working as expected now. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'include/uapi/linux/magic.h')
-rw-r--r--include/uapi/linux/magic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h
index 2944278a8ba7..77c60311a6c6 100644
--- a/include/uapi/linux/magic.h
+++ b/include/uapi/linux/magic.h
@@ -71,6 +71,6 @@
#define USBDEVICE_SUPER_MAGIC 0x9fa2
#define MTD_INODE_FS_MAGIC 0x11307854
#define ANON_INODE_FS_MAGIC 0x09041934
-
+#define BTRFS_TEST_MAGIC 0x73727279
#endif /* __LINUX_MAGIC_H__ */