Whamcloud - gitweb
Introduce and use new LOCK_INODE_MUTEX_PARENT() macro to be used in the
[fs/lustre-release.git] / lustre / obdfilter / filter.c
index 4c8d301..d66bb93 100644 (file)
@@ -1406,7 +1406,7 @@ obd_id filter_last_id(struct filter_obd *filter, obd_gr group)
 
 static int filter_lock_dentry(struct obd_device *obd, struct dentry *dparent)
 {
-        LOCK_INODE_MUTEX(dparent->d_inode);
+        LOCK_INODE_MUTEX_PARENT(dparent->d_inode);
         return 0;
 }