summaryrefslogtreecommitdiff
path: root/disk-io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-21 17:49:26 +0100
committerDavid Sterba <dsterba@suse.cz>2015-01-21 17:49:26 +0100
commit07ce7005fc81289eb4c7dde7d601be08c977b92c (patch)
treeed9be80ea3b023b552e281aa5425e4675ed32892 /disk-io.h
parent39568fa417ceee3133a8cadae0bd1527adf61221 (diff)
btrfs-progs: unify header file inclusion protections
There are missing ifdefs or defines with very generic names. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'disk-io.h')
-rw-r--r--disk-io.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/disk-io.h b/disk-io.h
index e12870eb..f963a96a 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -16,8 +16,8 @@
* Boston, MA 021110-1307, USA.
*/
-#ifndef __DISKIO__
-#define __DISKIO__
+#ifndef __BTRFS_DISK_IO_H__
+#define __BTRFS_DISK_IO_H__
#define BTRFS_SUPER_INFO_OFFSET (64 * 1024)
#define BTRFS_SUPER_INFO_SIZE 4096
@@ -110,7 +110,8 @@ int verify_tree_block_csum_silent(struct extent_buffer *buf, u16 csum_size);
int btrfs_read_buffer(struct extent_buffer *buf, u64 parent_transid);
int write_and_map_eb(struct btrfs_trans_handle *trans, struct btrfs_root *root,
struct extent_buffer *eb);
-#endif
/* raid6.c */
void raid6_gen_syndrome(int disks, size_t bytes, void **ptrs);
+
+#endif