summary refs log tree commit diff
path: root/fs/gfs2/Kconfig
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-17 12:27:44 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:36:20 -0500
commit5e7d65cd9d3819512b059f4260de0119b985454c (patch)
treef6e09c9eff9dfa4197cc6da8d153f314737026db /fs/gfs2/Kconfig
parentdcd2479959c79d44f5dd77e71672e70f1f8b1f06 (diff)
downloadlinux-5e7d65cd9d3819512b059f4260de0119b985454c.tar.gz
[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 <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/Kconfig')
0 files changed, 0 insertions, 0 deletions