]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAX
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 25 Nov 2022 09:13:57 +0000 (17:13 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Nov 2022 20:43:35 +0000 (15:43 -0500)
commitcf260db405b1a159e9076220b40f5f02ac480525
tree23265817106c0e826f890399a7b8460ff67f6ce3
parentcda2ed05aade303b7d89844a0333168c3484634a
btrfs: replace INT_LIMIT(loff_t) with OFFSET_MAX

OFFSET_MAX is self-annotated and more readable.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: David Sterba <dsterba@suse.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/btrfs/ordered-data.c