]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: Fix a trivial warning using max() of u64 vs ULL.
authorJoel Becker <joel.becker@oracle.com>
Tue, 21 Apr 2009 19:38:30 +0000 (12:38 -0700)
committerChris Mason <chris.mason@oracle.com>
Mon, 27 Apr 2009 12:37:49 +0000 (08:37 -0400)
commite63b6a6c0ffa2ebd8617cc1a10969000296831aa
treebb8a5b4ad968c161c327e592e0302308e21573bb
parent45c06543afe2772c02f21efee0e2138b4e1c911e
Btrfs: Fix a trivial warning using max() of u64 vs ULL.

A small warning popped up on ia64 because inode-map.c was comparing a
u64 object id with the ULL FIRST_FREE_OBJECTID.  My first thought was
that all the OBJECTID constants should contain the u64 cast because
btrfs code deals entirely in u64s.  But then I saw how large that was,
and figured I'd just fix the max() call.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode-map.c