summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-07-31 00:43:18 +0200
committerDavid Sterba <dsterba@suse.cz>2014-10-02 17:30:31 +0200
commit2755a0de64693501741fb3603cd8ca928b0b7e81 (patch)
treed9e934a9e41bf247cd6cf2095c299751fd207b77 /fs/btrfs/transaction.h
parent94404e82e5f5452a13ef580b6d3df1483671dff9 (diff)
downloadlinux-2755a0de64693501741fb3603cd8ca928b0b7e81.tar.bz2
btrfs: hide typecast to definition of BTRFS_SEND_TRANS_STUB
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/transaction.h')
-rw-r--r--fs/btrfs/transaction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h
index 579be51b27e5..d8f40e1a5d2d 100644
--- a/fs/btrfs/transaction.h
+++ b/fs/btrfs/transaction.h
@@ -79,7 +79,7 @@ struct btrfs_transaction {
#define TRANS_EXTWRITERS (__TRANS_USERSPACE | __TRANS_START | \
__TRANS_ATTACH)
-#define BTRFS_SEND_TRANS_STUB 1
+#define BTRFS_SEND_TRANS_STUB ((void *)1)
struct btrfs_trans_handle {
u64 transid;