]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3ec5436132e1f6a3f45d75f9695fc5cfed3247da
treeeac1d44330603c08dddf397fc46484f97a69a11e
parente4cb7017fcc61d4a9f1a75f40bf9b67b82bff8bb
[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