--- linux-2.6.33/fs/dcache.c.org 2011-04-04 08:20:20.382107296 +0200 +++ linux-2.6.33/fs/dcache.c 2011-04-15 08:23:45.530530995 +0200 @@ -2123,7 +2123,7 @@ */ void dentry_update_name_case(struct dentry *dentry, struct qstr *name) { - BUG_ON(!mutex_is_locked(&dentry->d_inode->i_mutex)); + BUG_ON(!mutex_is_locked(&dentry->d_parent->d_inode->i_mutex)); BUG_ON(dentry->d_name.len != name->len); /* d_lookup gives this */ spin_lock(&dentry->d_lock);