diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-06-25 20:01:30 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:04:03 (GMT) |
commit | 594a24eb0e7fa8413f8b443863be4b7c72bfde9f (patch) | |
tree | 616ddbee05148d18096fc56daf0a9af598078fc6 /fs/btrfs/file.c | |
parent | 051e1b9f748ae673b7325d3fc049bb838606cffa (diff) | |
download | linux-fsl-qoriq-594a24eb0e7fa8413f8b443863be4b7c72bfde9f.tar.xz |
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/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 18bbe10..b7f8f92 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -976,7 +976,7 @@ out_nolock: int btrfs_release_file(struct inode * inode, struct file * filp) { - btrfs_del_ordered_inode(inode); + btrfs_del_ordered_inode(inode, 0); if (filp->private_data) btrfs_ioctl_trans_end(filp); return 0; |