This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/gfs-kernel/src/gfs ops_file.c
- From: wcheng at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 2 Jun 2006 04:56:55 -0000
- Subject: 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