btrfs: provide enumeration for __merge_refs mode argument
authorEdmund Nadolski <enadolski@suse.com>
Thu, 16 Mar 2017 16:04:33 +0000 (10:04 -0600)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 12:07:25 +0000 (14:07 +0200)
commitf58d88b336c1c83a35d6b2582d45cd87cb2ca406
tree3bc89980cf89ed7ab8ae4c3a2b49284a2a60d4e8
parentf486135ebab4fb91366a1e41fb15ed3036ad0cf9
btrfs: provide enumeration for __merge_refs mode argument

Replace hardcoded numeric values for __merge_refs 'mode' argument
with descriptive constants.

Signed-off-by: Edmund Nadolski <enadolski@suse.com>
Reviewed-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c