btrfs: replace hardcoded value with SEQ_LAST macro
authorEdmund Nadolski <enadolski@suse.com>
Thu, 16 Mar 2017 16:04:34 +0000 (10:04 -0600)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 12:07:25 +0000 (14:07 +0200)
commitde47c9d3ff875a3cb1251af35ee8d30afaca78bd
tree5befd3a928d8c49911748f9faf26fe2d419d3aee
parentf58d88b336c1c83a35d6b2582d45cd87cb2ca406
btrfs: replace hardcoded value with SEQ_LAST macro

Define the SEQ_LAST macro to replace (u64)-1 in places where said
value triggers a special-case ref search behavior.

Signed-off-by: Edmund Nadolski <enadolski@suse.com>
Reviewed-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c
fs/btrfs/ctree.h
fs/btrfs/qgroup.c