[Cluster-devel] [RFC 3/3] GFS2 rename race - core changes

From: Wendy Cheng <wcheng redhat com>

To: cluster-devel redhat com

Subject: [Cluster-devel] [RFC 3/3] GFS2 rename race - core changes

Date: Tue, 12 Dec 2006 03:19:05 -0500

Upon failure of gfs2_unlink_ok(), we discard the old dentry, create a
new dentry, and then fill in the correct inode contents. This is to
avoid gfs_rename() returns ENOENT for destination file changes.