cluster/gfs-kernel/src/gfs ops_file.c

wcheng@sourceware.org wcheng@sourceware.org
Fri Jun 2 04:56:00 GMT 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	wcheng@sourceware.org	2006-06-02 04:56:55

Modified files:
	gfs-kernel/src/gfs: ops_file.c 

Log message:
	RHEL4 defaults nfs export to "sync" so nfsd would invokes nfsd_sync_dir()
	that eventually calls gfs_fsync() with filp set to NULL. In lehman patch,
	I obtained inode location from filp, not knowing it could be set NULL by
	nfsd's vfs layer. This ends up crashing the kernel as described in
	bugzilla 193817.
	
	Fix the panic issue by getting inode pointer from dentry instead.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/ops_file.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.16.2.12&r2=1.16.2.13



More information about the Cluster-cvs mailing list