commit 3c88533d431d73c9adaa69245467ed43898c85e2
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Sat Mar 24 20:16:41 2007 -0400

    fixed a bug in readdir and added a coupled of stuff that I shouldn't had 
left out during rebasing

diff --git a/fs/unionfs/dirfops.c b/fs/unionfs/dirfops.c
index 1b66fec..df80a1d 100644
--- a/fs/unionfs/dirfops.c
+++ b/fs/unionfs/dirfops.c
@@ -112,6 +112,7 @@ static loff_t unionfs_dir_llseek(struct file *file, loff_t 
offset, int origin)
 {
        loff_t err;
 
+       unionfs_read_lock(file->f_dentry->d_sb);
        if ((err = unionfs_file_revalidate(file, 0)))
                goto out;
 
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to