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>
This commit is contained in:
@@ -38,6 +38,6 @@ int btrfs_find_del_first_ordered_inode(struct btrfs_ordered_inode_tree *tree,
|
||||
int btrfs_find_first_ordered_inode(struct btrfs_ordered_inode_tree *tree,
|
||||
u64 *root_objectid, u64 *objectid,
|
||||
struct inode **inode);
|
||||
void btrfs_del_ordered_inode(struct inode *inode);
|
||||
void btrfs_del_ordered_inode(struct inode *inode, int force);
|
||||
int btrfs_ordered_throttle(struct btrfs_root *root, struct inode *inode);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user