commit e5bc408952a7ab4de59ad79c85169be1ae3d61ad
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Wed Apr 18 02:08:14 2007 -0400

    cleanup: call our unionfs_{unlock,lock}_dentry instead of mutex ops.
    
    This is for consistency with the rest of the code, which helps us place
    debugging code when un/locking our special "info" mutex in our dentries.

diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c
index 
6d04fc9069b514498333a021a7f12fa1b03448b7..75cf15cb8725f9623d7dc462836ddf5a8aea052e
 100644
--- a/fs/unionfs/lookup.c
+++ b/fs/unionfs/lookup.c
@@ -397,7 +397,7 @@ int new_dentry_private_data(struct dentr
                        goto out;
 
                mutex_init(&info->lock);
-               mutex_lock(&info->lock);
+               unionfs_lock_dentry(dentry);
                unlock_on_err = 1;
 
                info->lower_paths = NULL;
@@ -440,7 +440,7 @@ int new_dentry_private_data(struct dentr
 out_free:
        kfree(info->lower_paths);
        if (unlock_on_err)
-               mutex_unlock(&info->lock);
+               unionfs_unlock_dentry(dentry);
 
 out:
        free_dentry_private_data(info);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to