summaryrefslogtreecommitdiffstats
path: root/fs/befs/befs.h
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2016-08-08 15:21:20 +0100
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 10:01:26 +0100
commit672a8515ee7ce3931daba8ed24f43de476d8e29a (patch)
treeb70b8ceab95dd1db32d38df86c64a36b5c1b667f /fs/befs/befs.h
parent33c712b4fcf23fba57cb9a8d947d9ab41e363b08 (diff)
downloadlinux-672a8515ee7ce3931daba8ed24f43de476d8e29a.tar.bz2
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>
Diffstat (limited to 'fs/befs/befs.h')
-rw-r--r--fs/befs/befs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h
index c5c6cd13709c..a8ca7fcf0795 100644
--- a/fs/befs/befs.h
+++ b/fs/befs/befs.h
@@ -79,7 +79,7 @@ enum befs_err {
BEFS_BT_END,
BEFS_BT_EMPTY,
BEFS_BT_MATCH,
- BEFS_BT_PARMATCH,
+ BEFS_BT_OVERFLOW,
BEFS_BT_NOT_FOUND
};