diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-06-25 16:01:30 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:03 -0400 |
commit | 594a24eb0e7fa8413f8b443863be4b7c72bfde9f (patch) | |
tree | 616ddbee05148d18096fc56daf0a9af598078fc6 /fs/btrfs/ordered-data.h | |
parent | 051e1b9f748ae673b7325d3fc049bb838606cffa (diff) |
Fix btrfs_del_ordered_inode to allow forcing the drop during unlinks
This allows us to delete an unlinked inode with dirty pages from the list
instead of forcing commit to write these out before deleting the inode.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ordered-data.h')
-rw-r--r-- | fs/btrfs/ordered-data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h index c515c4b39996..4fa78736423e 100644 --- a/fs/btrfs/ordered-data.h +++ b/fs/btrfs/ordered-data.h | |||
@@ -38,6 +38,6 @@ int btrfs_find_del_first_ordered_inode(struct btrfs_ordered_inode_tree *tree, | |||
38 | int btrfs_find_first_ordered_inode(struct btrfs_ordered_inode_tree *tree, | 38 | int btrfs_find_first_ordered_inode(struct btrfs_ordered_inode_tree *tree, |
39 | u64 *root_objectid, u64 *objectid, | 39 | u64 *root_objectid, u64 *objectid, |
40 | struct inode **inode); | 40 | struct inode **inode); |
41 | void btrfs_del_ordered_inode(struct inode *inode); | 41 | void btrfs_del_ordered_inode(struct inode *inode, int force); |
42 | int btrfs_ordered_throttle(struct btrfs_root *root, struct inode *inode); | 42 | int btrfs_ordered_throttle(struct btrfs_root *root, struct inode *inode); |
43 | #endif | 43 | #endif |