commit 75ef2c8ab9f37bca32fba8480e690fe5500bacb8
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Tue Jun 5 21:58:07 2007 -0400

    bugfix: properly reset lower inode start/end range
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c
index 
66995fb1bdedf9552264bb2cba22be68deef035f..e296c25664a1863ac16f5dbf8358844649c99e89
 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -799,7 +799,8 @@ static int unionfs_ioctl_queryfile(struc
        /* restore original dentry's offsets */
        set_dbstart(dentry, orig_bstart);
        set_dbend(dentry, orig_bend);
-       ibstart(dentry->d_inode) = ibend(dentry->d_inode) = orig_bend;
+       ibstart(dentry->d_inode) = orig_bstart;
+       ibend(dentry->d_inode) = orig_bend;
 
        err = copy_to_user((void __user *)arg, &branchlist, sizeof(fd_set));
        if (err)
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to