From: Josef "Jeff" Sipek <[email protected]>
fsstack_copy_attr_all should copy the inode size in addition to all the
other attributes.
Signed-off-by: Josef "Jeff" Sipek <[email protected]>
---
fs/stack.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/stack.c b/fs/stack.c
index 03987f2..9d3ba4e 100644
--- a/fs/stack.c
+++ b/fs/stack.c
@@ -33,5 +33,7 @@ void fsstack_copy_attr_all(struct inode
dest->i_ctime = src->i_ctime;
dest->i_blkbits = src->i_blkbits;
dest->i_flags = src->i_flags;
+
+ fsstack_copy_inode_size(dest, src);
}
EXPORT_SYMBOL_GPL(fsstack_copy_attr_all);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]