]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/gfs2/dir.c
[GFS2] Shrink & rename di_depth
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 1 Feb 2008 09:23:44 +0000 (09:23 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 31 Mar 2008 09:40:31 +0000 (10:40 +0100)
commit9a0045088d888c9c539c8c626a366cb52c0fbdab
treeeac1d44330603c08dddf397fc46484f97a69a11e
parentcf45b752c9f23939e40d823b0600bf876e97b0e0
[GFS2] Shrink & rename di_depth

This patch forms a pair with the previous patch which shrunk
di_height. Like that patch di_depth is renamed i_depth and moved
into struct gfs2_inode directly. Also the field goes from 16 bits
to 8 bits since it is also limited to a max value which is rather
small (17 in this case). In addition we also now validate the field
against this maximum value when its read in.

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