Btrfs: do not reuse objectid of deleted snapshot/subvol
[deliverable/linux.git] / fs / btrfs / inode.c
index 81ba6654c3326dd38ba42944d8c121959b24b892..9e81f3184f249ebe05dbf66034c4d202b005dc36 100644 (file)
@@ -3624,9 +3624,6 @@ static struct inode *btrfs_new_inode(struct btrfs_trans_handle *trans,
        if (ret != 0)
                goto fail;
 
-       if (objectid > root->highest_inode)
-               root->highest_inode = objectid;
-
        inode->i_uid = current_fsuid();
 
        if (dir && (dir->i_mode & S_ISGID)) {
This page took 0.025708 seconds and 5 git commands to generate.