projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcbad57
)
bugfix: properly reset lower inode start/end range
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Wed, 6 Jun 2007 01:58:07 +0000
(21:58 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 29 Apr 2011 02:24:04 +0000
(22:24 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/commonfops.c
b/fs/unionfs/commonfops.c
index 0e923df9cbd982f6038d42a64bbc9cd4e4ffb566..900887e49627b20e22247268f7a4581a0d6333d6 100644
(file)
--- 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)