]> git.karo-electronics.de Git - karo-tx-linux.git/commit
befs: remove unused BEFS_BT_PARMATCH
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 8 Aug 2016 14:21:20 +0000 (15:21 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:26 +0000 (10:01 +0100)
commit672a8515ee7ce3931daba8ed24f43de476d8e29a
treeb70b8ceab95dd1db32d38df86c64a36b5c1b667f
parent33c712b4fcf23fba57cb9a8d947d9ab41e363b08
befs: remove unused BEFS_BT_PARMATCH

befs_btree_find(), the only caller of befs_find_key(), only cares about if
the return from that function is BEFS_BT_MATCH or not. It never uses the
partial match given with BEFS_BT_PARMATCH. Make the overflow return clearer
by having BEFS_BT_OVERFLOW instead of BEFS_BT_PARMATCH.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Salah Triki <salah.triki@gmail.com>
fs/befs/befs.h
fs/befs/btree.c