Skip to content
Commit 6e1103a6 authored by Satoru Takeuchi's avatar Satoru Takeuchi Committed by Chris Mason
Browse files

btrfs: fix state->private cast on 32 bit machines



Suppress the following warning displayed on building 32bit (i686) kernel.

===============================================================================
...
   CC [M]  fs/btrfs/extent_io.o
fs/btrfs/extent_io.c: In function ‘btrfs_free_io_failure_record’:
fs/btrfs/extent_io.c:2193:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
    failrec = (struct io_failure_record *)state->private;
...
===============================================================================

Signed-off-by: default avatarSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Reported-by: default avatarChris Murphy <chris@colorremedies.com>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 75c68e9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment