06f7e2b RHEL4 defaults nfs export to "sync" so nfsd would invokes nfsd_sync_dir()

Authored and Committed by Wendy Cheng 18 years ago
    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.