Since we no longer support userspace transaction there is no need to keep this member variable, so remove it.
Signed-off-by: Nikolay Borisov <[email protected]> --- fs/btrfs/ctree.h | 1 - fs/btrfs/file.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 6a4752177ad8..dc679246b8e8 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1265,7 +1265,6 @@ struct btrfs_root { }; struct btrfs_file_private { - struct btrfs_trans_handle *trans; void *filldir_buf; }; diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 291036513017..101e0c7fea92 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -1996,8 +1996,6 @@ int btrfs_release_file(struct inode *inode, struct file *filp) { struct btrfs_file_private *private = filp->private_data; - if (private && private->trans) - btrfs_ioctl_trans_end(filp); if (private && private->filldir_buf) kfree(private->filldir_buf); kfree(private); -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
