Loading fs/btrfs/inode.c +4 −1 Original line number Diff line number Diff line Loading @@ -3481,9 +3481,11 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, if (dir) { ret = btrfs_set_inode_index(dir, index); if (ret) if (ret) { iput(inode); return ERR_PTR(ret); } } /* * index_cnt is ignored for everything but a dir, * btrfs_get_inode_index_count has an explanation for the magic Loading Loading @@ -3565,6 +3567,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, if (dir) BTRFS_I(dir)->index_cnt--; btrfs_free_path(path); iput(inode); return ERR_PTR(ret); } Loading Loading
fs/btrfs/inode.c +4 −1 Original line number Diff line number Diff line Loading @@ -3481,9 +3481,11 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, if (dir) { ret = btrfs_set_inode_index(dir, index); if (ret) if (ret) { iput(inode); return ERR_PTR(ret); } } /* * index_cnt is ignored for everything but a dir, * btrfs_get_inode_index_count has an explanation for the magic Loading Loading @@ -3565,6 +3567,7 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans, if (dir) BTRFS_I(dir)->index_cnt--; btrfs_free_path(path); iput(inode); return ERR_PTR(ret); } Loading