commit 7d79f02238d684fd973077f1241c78af50b1d4b5
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 66995fb..e296c25 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -799,7 +799,8 @@ static int unionfs_ioctl_queryfile(struct file *file,
unsigned int cmd,
/* 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