diff options
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 6d031daa7779..9d2a0a3f674d 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -2028,6 +2028,8 @@ static int create_subvol(struct btrfs_root *root, char *name, int namelen) | |||
2028 | 2028 | ||
2029 | btrfs_set_root_blocknr(&root_item, bh_blocknr(subvol)); | 2029 | btrfs_set_root_blocknr(&root_item, bh_blocknr(subvol)); |
2030 | btrfs_set_root_refs(&root_item, 1); | 2030 | btrfs_set_root_refs(&root_item, 1); |
2031 | memset(&root_item.drop_progress, 0, sizeof(root_item.drop_progress)); | ||
2032 | root_item.drop_level = 0; | ||
2031 | brelse(subvol); | 2033 | brelse(subvol); |
2032 | subvol = NULL; | 2034 | subvol = NULL; |
2033 | 2035 | ||