summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorChris Mason2008-08-05 05:17:27 +0200
committerChris Mason2008-09-25 17:04:06 +0200
commitea8c281947950fac5f78818b767821d696c9512a (patch)
treea30e9da5371d9a694a8f73d450231107ccad1dcb /fs/btrfs/btrfs_inode.h
parentBtrfs: Don't corrupt ram in shrink_extent_tree, leak it instead (diff)
downloadkernel-qcow2-linux-ea8c281947950fac5f78818b767821d696c9512a.tar.gz
kernel-qcow2-linux-ea8c281947950fac5f78818b767821d696c9512a.tar.xz
kernel-qcow2-linux-ea8c281947950fac5f78818b767821d696c9512a.zip
Btrfs: Maintain a list of inodes that are delalloc and a way to wait on them
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index df624fd735c1..534ac4153ddd 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -42,6 +42,8 @@ struct btrfs_inode {
/* for keeping track of orphaned inodes */
struct list_head i_orphan;
+ struct list_head delalloc_inodes;
+
/*
* transid of the trans_handle that last modified this inode
*/