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)
downloadkernel_samsung_aries-b214107eda845f9a5851ae198f5b972e0dc30c45.zip
kernel_samsung_aries-b214107eda845f9a5851ae198f5b972e0dc30c45.tar.gz
kernel_samsung_aries-b214107eda845f9a5851ae198f5b972e0dc30c45.tar.bz2
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 59b64c7..f84b5f6 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -739,7 +739,7 @@ long btrfs_ioctl_trans_end(struct file *file)
goto out;
}
btrfs_end_transaction(trans, root);
- file->private_data = 0;
+ file->private_data = NULL;
mutex_lock(&root->fs_info->trans_mutex);
root->fs_info->open_ioctl_trans--;