projects
/
unionfs-2.6.18.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
900afc7
)
Unionfs: copy inode->i_blksize as well as i_blkbits from lower inode
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 20 Sep 2008 04:10:13 +0000
(
00:10
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 20 Sep 2008 04:10:13 +0000
(
00:10
-0400)
Otherwise stat(2) via the union reports zero blocks.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/subr.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/subr.c
b/fs/unionfs/subr.c
index 8747d2095963cceabad96ed6ab7a46c4683b82cc..92a762db3d6081c3d58b72f6acca0cf1d314f997 100644
(file)
--- a/
fs/unionfs/subr.c
+++ b/
fs/unionfs/subr.c
@@
-85,6
+85,7
@@
void unionfs_copy_attr_all(struct inode *dest,
unionfs_copy_attr_times(dest);
dest->i_blkbits = src->i_blkbits;
+ dest->i_blksize = src->i_blksize;
dest->i_flags = src->i_flags;
/*