diff options
author | David Sterba <dsterba@suse.cz> | 2014-07-31 00:43:18 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 17:30:31 +0200 |
commit | 2755a0de64693501741fb3603cd8ca928b0b7e81 (patch) | |
tree | d9e934a9e41bf247cd6cf2095c299751fd207b77 /fs/btrfs/transaction.c | |
parent | btrfs: let merge_reloc_roots return void (diff) | |
download | linux-2755a0de64693501741fb3603cd8ca928b0b7e81.tar.xz linux-2755a0de64693501741fb3603cd8ca928b0b7e81.zip |
btrfs: hide typecast to definition of BTRFS_SEND_TRANS_STUB
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 16d0c1b62b3e..f4c194b160b7 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -386,7 +386,7 @@ start_transaction(struct btrfs_root *root, u64 num_items, unsigned int type, int ret; /* Send isn't supposed to start transactions. */ - ASSERT(current->journal_info != (void *)BTRFS_SEND_TRANS_STUB); + ASSERT(current->journal_info != BTRFS_SEND_TRANS_STUB); if (test_bit(BTRFS_FS_STATE_ERROR, &root->fs_info->fs_state)) return ERR_PTR(-EROFS); |