From: Steven Whitehouse Date: Fri, 17 Nov 2006 17:27:44 +0000 (-0500) Subject: [GFS2] Make sentinel dirents compatible with gfs1 X-Git-Tag: v2.6.20-rc1~145^2^2~5^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e7d65cd9d3819512b059f4260de0119b985454c;p=pandora-kernel.git [GFS2] Make sentinel dirents compatible with gfs1 When deleting directory entries, we set the inum.no_addr to zero in a dirent when its the first dirent in a block and thus cannot be merged into the previous dirent as is the usual case. In gfs1, inum.no_formal_ino was used instead. This patch changes gfs2 to set both inum.no_addr and inum.no_formal_ino to zero. It also changes the test from just looking at inum.no_addr to look at both inum.no_addr and inum.no_formal_ino and a sentinel is now considered to be a dirent in which _either_ (or both) of them is set to zero. This resolves Red Hat bugzillas: #215809, #211465 Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed