commit 12443ae610b1dce2f728fa2aa4fb083aaac484d5
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Tue May 29 21:47:53 2007 -0400
lock odf inode when calling the odf fs's get_parent
diff --git a/fs/unionfs/export.c b/fs/unionfs/export.c
index 1c27ba6..403240e 100644
--- a/fs/unionfs/export.c
+++ b/fs/unionfs/export.c
@@ -137,7 +137,9 @@ static struct dentry *unionfs_get_parent(struct dentry
*child)
goto out;
}
+ mutex_lock(&odf_child->d_inode->i_mutex);
odf_parent = odf_sb->s_export_op->get_parent(odf_child);
+ mutex_unlock(&odf_child->d_inode->i_mutex);
if (IS_ERR(odf_parent)) {
dput(odf_child);
res = odf_parent;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs