diff options
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 59b64c738fd..f84b5f6991c 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -739,7 +739,7 @@ long btrfs_ioctl_trans_end(struct file *file) | |||
739 | goto out; | 739 | goto out; |
740 | } | 740 | } |
741 | btrfs_end_transaction(trans, root); | 741 | btrfs_end_transaction(trans, root); |
742 | file->private_data = 0; | 742 | file->private_data = NULL; |
743 | 743 | ||
744 | mutex_lock(&root->fs_info->trans_mutex); | 744 | mutex_lock(&root->fs_info->trans_mutex); |
745 | root->fs_info->open_ioctl_trans--; | 745 | root->fs_info->open_ioctl_trans--; |