aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2008-09-05 16:43:31 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:07 -0400
commitb214107eda845f9a5851ae198f5b972e0dc30c45 (patch)
tree9ca3127891a90b72f72477b48217d05fdfcaa83c /fs/btrfs/ioctl.c
parenta237d2a2bd67eb2b57b87c1e1d3d802d078d4ba7 (diff)
Btrfs: trivial sparse fixes
Fix a bunch of trivial sparse complaints. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c2
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--;