patch fixes-to-unionfs-lock-dentry-in-file-ops.patch
authorRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Wed, 2 Apr 2008 16:26:44 +0000 (12:26 -0400)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Wed, 2 Apr 2008 16:26:44 +0000 (12:26 -0400)
fs/unionfs/dirfops.c

index 47bf4fd1f131d348066b50e5c80a225c9d09731e..ca49ad1b429c8aa0a528ff6604a14e63ec1a3aa9 100644 (file)
@@ -58,10 +58,8 @@ static int unionfs_readdir(struct file *file, void *dirent, filldir_t filldir)
                 * odf cache dir calls partial lookup which expects a locked
                 * dentry
                 */
-               unionfs_lock_dentry(file->f_path.dentry, UNIONFS_DMUTEX_CHILD);
                err = odf_cache_dir(file->f_path.dentry, odf_cache,
                                    &file->f_path.dentry->d_inode->i_mtime);
-               unionfs_unlock_dentry(file->f_path.dentry);
                if (err)
                        goto out;