Btrfs: trivial sparse fixes
[deliverable/linux.git] / fs / btrfs / ioctl.c
index 59b64c738fd136aac43d6a193514af078e2382e6..f84b5f6991cce80826c307050e7f0fdcafce0a30 100644 (file)
@@ -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--;
This page took 0.023991 seconds and 5 git commands to generate.