diff options
author | Chris Mason <chris.mason@fusionio.com> | 2013-02-06 12:51:58 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-02-06 12:51:58 -0500 |
commit | 82ac34581e8fae6ef3f84758361c75f5b30c576d (patch) | |
tree | b7bb32f9e4b4f5989cc148543bf2782abb0a1c93 /volumes.c | |
parent | 7b1c567c84a6292c138db3bd1638e19e73e0e593 (diff) | |
parent | 2986545ccd655273658e0e4463a669bb1893ba68 (diff) |
Merge branch 'cov-fixes-v1-integration-20130201' of http://git.zabbo.net/cgit/btrfs-progs into merged
Diffstat (limited to 'volumes.c')
-rw-r--r-- | volumes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1668,7 +1668,7 @@ int btrfs_read_sys_array(struct btrfs_root *root) if (!sb) return -ENOMEM; btrfs_set_buffer_uptodate(sb); - write_extent_buffer(sb, super_copy, 0, BTRFS_SUPER_INFO_SIZE); + write_extent_buffer(sb, super_copy, 0, sizeof(*super_copy)); array_size = btrfs_super_sys_array_size(super_copy); /* @@ -1767,9 +1767,9 @@ again: goto again; } - btrfs_free_path(path); ret = 0; error: + btrfs_free_path(path); return ret; } |