commit 21dc59d74307565448e3fed01b8265ee2f0fe42b
Author: Rachita Kothiyal <[EMAIL PROTECTED]>
Date:   Sun Feb 24 19:05:58 2008 -0500

    Unionfs odf: Remove unnecessary function and macro
    
    Signed-off-by: Rachita Kothiyal <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/fanout.h b/fs/unionfs/fanout.h
index 2ae30a3..20399dd 100644
--- a/fs/unionfs/fanout.h
+++ b/fs/unionfs/fanout.h
@@ -282,7 +282,6 @@ enum unionfs_dentry_lock_class {
        UNIONFS_DMUTEX_ROOT,
        UNIONFS_DMUTEX_PARENT,
        UNIONFS_DMUTEX_CHILD,
-       UNIONFS_DMUTEX_WHITEOUT,
        UNIONFS_DMUTEX_REVAL_PARENT, /* for file/dentry revalidate */
        UNIONFS_DMUTEX_REVAL_CHILD,   /* for file/dentry revalidate */
 };
diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index a35301c..315fe23 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -492,13 +492,6 @@ static inline struct dentry *lock_parent(struct dentry 
*dentry)
        mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT);
        return dir;
 }
-static inline struct dentry *lock_parent_wh(struct dentry *dentry)
-{
-       struct dentry *dir = dget(dentry->d_parent);
-
-       mutex_lock_nested(&dir->d_inode->i_mutex, UNIONFS_DMUTEX_WHITEOUT);
-       return dir;
-}
 
 static inline void unlock_dir(struct dentry *dir)
 {
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to