From: Erez_Zadok Date: Wed, 6 Jun 2007 01:58:07 +0000 (-0400) Subject: bugfix: properly reset lower inode start/end range X-Git-Tag: unionfs-2.1.1~59 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=ec787c657e32a93704bb2626e98fb7cbe436f979;p=unionfs-2.6.39.y.git bugfix: properly reset lower inode start/end range Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index 0e923df9cbd..900887e4962 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@ -723,7 +723,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)