reiserfs: cleanup, make hash detection saner
authorJeff Mahoney <jeffm@suse.com>
Wed, 23 Apr 2014 14:00:44 +0000 (10:00 -0400)
committerJan Kara <jack@suse.cz>
Wed, 7 May 2014 15:49:45 +0000 (17:49 +0200)
commitc48138c22756b22ff420b0da1d4dc7714d595080
tree6f457cc6c25471a88ab3a510f4bf1714f8ad9ce0
parenta228bf8f0a3e5f1406edbd61f7400e87e23af5f7
reiserfs: cleanup, make hash detection saner

The hash detection code uses long ugly macros multiple times to get the same
value. This patch cleans it up to be easier to read.

[JK: Fixed up path leak in find_hash_out()]

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/super.c