diff options
author | Christoph Hellwig <hch@lst.de> | 2008-09-05 16:43:31 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:07 -0400 |
commit | b214107eda845f9a5851ae198f5b972e0dc30c45 (patch) | |
tree | 9ca3127891a90b72f72477b48217d05fdfcaa83c /fs/btrfs/ioctl.c | |
parent | a237d2a2bd67eb2b57b87c1e1d3d802d078d4ba7 (diff) | |
download | blackbird-op-linux-b214107eda845f9a5851ae198f5b972e0dc30c45.tar.gz blackbird-op-linux-b214107eda845f9a5851ae198f5b972e0dc30c45.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 59b64c738fd1..f84b5f6991cc 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--; |