Skip to content
Commit 1579343a authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Remove dirent_first() function



This function only had one caller left, and that caller only
called it for leaf blocks, hence one branch of the "if" was
never taken. In addition the call to get_left had already
verified the metadata type, so the function can be reduced
to a single line of code in its caller.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent cdcfde62
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment