This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]