GFS2: Clean up dir hash table reading
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 26 Jul 2011 08:17:28 +0000 (09:17 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 21 Oct 2011 11:39:17 +0000 (12:39 +0100)
commit4c28d33803d4aeaff32b4ac502af11a9b2aed8f4
treec7119b6755aae3e1ceceedec54e481d9ff893b00
parentfd11e153b82ad1c84ccc71ba1cfedc222465198c
GFS2: Clean up dir hash table reading

Since there is now only a single caller to gfs2_dir_read_data()
and it has a number of constant arguments, we can factor
those out. Also some tests relating to the inode size were
being done twice.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/dir.c