diff options
Diffstat (limited to 'inode-map.c')
-rw-r--r-- | inode-map.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inode-map.c b/inode-map.c index a0925eab..d2970d41 100644 --- a/inode-map.c +++ b/inode-map.c @@ -72,7 +72,8 @@ int btrfs_find_free_objectid(struct btrfs_trans_handle *trans, path = btrfs_alloc_path(); BUG_ON(!path); search_start = root->last_inode_alloc; - search_start = max(search_start, BTRFS_FIRST_FREE_OBJECTID); + search_start = max((unsigned long long)search_start, + BTRFS_FIRST_FREE_OBJECTID); search_key.objectid = search_start; search_key.offset = 0; |