original_kernel/fs/gfs2
Steven Whitehouse 5e7d65cd9d [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>
2006-11-30 10:36:20 -05:00
..
locking
Kconfig
Makefile
acl.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
acl.h
bmap.c [GFS2] Tidy up bmap & fix boundary bug 2006-11-30 10:35:49 -05:00
bmap.h
daemon.c
daemon.h
dir.c [GFS2] Make sentinel dirents compatible with gfs1 2006-11-30 10:36:20 -05:00
dir.h [GFS2] split and annotate gfs2_inum 2006-11-30 10:33:32 -05:00
eaops.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
eaops.h
eattr.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
eattr.h [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00
gfs2.h
glock.c [GFS2] Fix memory allocation in glock.c 2006-11-30 10:35:46 -05:00
glock.h [GFS2] Fix page lock/glock deadlock 2006-11-30 10:34:43 -05:00
glops.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
glops.h
incore.h [GFS2] Shrink gfs2_inode (8) - i_vn 2006-11-30 10:34:30 -05:00
inode.c [GFS2] Remove unused function from inode.c 2006-11-30 10:35:57 -05:00
inode.h [GFS2] Remove unused function from inode.c 2006-11-30 10:35:57 -05:00
lm.c
lm.h
locking.c
log.c
log.h
lops.c [GFS2] Fix race in logging code 2006-11-30 10:34:55 -05:00
lops.h [GFS2] split and annotate gfs2_log_head 2006-11-30 10:33:14 -05:00
main.c
meta_io.c
meta_io.h
mount.c
mount.h
ondisk.c [GFS2] Don't copy meta_header for rgrp in and out 2006-11-30 10:34:36 -05:00
ops_address.c [GFS2] Remove unused function from inode.c 2006-11-30 10:35:57 -05:00
ops_address.h
ops_dentry.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
ops_dentry.h
ops_export.c [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00
ops_export.h [GFS2] split and annotate gfs2_inum 2006-11-30 10:33:32 -05:00
ops_file.c [GFS2] Remove unused function from inode.c 2006-11-30 10:35:57 -05:00
ops_file.h [GFS2] Only set inode flags when required 2006-11-30 10:34:45 -05:00
ops_fstype.c [GFS2] split and annotate gfs2_inum 2006-11-30 10:33:32 -05:00
ops_fstype.h
ops_inode.c [GFS2] Shrink gfs2_inode (8) - i_vn 2006-11-30 10:34:30 -05:00
ops_inode.h
ops_super.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
ops_super.h
ops_vm.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
ops_vm.h
quota.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
quota.h
recovery.c [GFS2] Fix crc32 calculation in recovery.c 2006-11-30 10:33:17 -05:00
recovery.h [GFS2] split and annotate gfs2_log_head 2006-11-30 10:33:14 -05:00
rgrp.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
rgrp.h
super.c [GFS2] split and annotate gfs2_statfs_change 2006-11-30 10:33:38 -05:00
super.h [GFS2] split and annotate gfs2_statfs_change 2006-11-30 10:33:38 -05:00
sys.c [GFS2] Remove unused sysfs files 2006-11-30 10:35:53 -05:00
sys.h
trans.c
trans.h
util.c
util.h [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00