Use kernel.h definition Cc: Jeff Mahoney <je...@suse.com> Cc: Andrew Morton <a...@linux-foundation.org> Signed-off-by: Fabian Frederick <f...@skynet.be> --- fs/reiserfs/super.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 9fb2042..4d47b83 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -205,9 +205,9 @@ static int finish_unfinished(struct super_block *s) /* compose key to look for "save" links */ max_cpu_key.version = KEY_FORMAT_3_5; - max_cpu_key.on_disk_key.k_dir_id = ~0U; - max_cpu_key.on_disk_key.k_objectid = ~0U; - set_cpu_key_k_offset(&max_cpu_key, ~0U); + max_cpu_key.on_disk_key.k_dir_id = UINT_MAX; + max_cpu_key.on_disk_key.k_objectid = UINT_MAX; + set_cpu_key_k_offset(&max_cpu_key, UINT_MAX); max_cpu_key.key_length = 3; memset(&last_inode_key, 0, sizeof(last_inode_key)); -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/