]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - fs/btrfs/inode.c
Btrfs: steal from global reserve if we are cleaning up orphans
[linux-imx.git] / fs / btrfs / inode.c
index 348b7bb920ef655cb89d61826c0f64a255f46538..cf26778085e08185a7c7c03e0fd6f7a34bc7c7e4 100644 (file)
@@ -2218,11 +2218,6 @@ void btrfs_run_delayed_iputs(struct btrfs_root *root)
        }
 }
 
-enum btrfs_orphan_cleanup_state {
-       ORPHAN_CLEANUP_STARTED  = 1,
-       ORPHAN_CLEANUP_DONE     = 2,
-};
-
 /*
  * This is called in transaction commit time. If there are no orphan
  * files in the subvolume, it removes orphan item and frees block_rsv