Btrfs: fix search_ioctl key advance
authorSage Weil <sage@newdream.net>
Tue, 16 Mar 2010 00:02:25 +0000 (00:02 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 16 Mar 2010 18:24:27 +0000 (14:24 -0400)
commit854d2c3531e6d32e76b94ca5e096ea54c7497e40
tree50775c23fe46b586b24294217e4eb81fbc0e8365
parentef5780c018ed169a77b623f87c4ba52faa8ad0fe
Btrfs: fix search_ioctl key advance

key->type is u8, not u64.

fs/btrfs/ioctl.c: In function 'copy_to_sk':
fs/btrfs/ioctl.c:1024: warning: comparison is always true due to limited range of data type

Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ioctl.c