From: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
To: linux-kernel@vger.kernel.org
Cc: Pekka Enberg <penberg@cs.helsinki.fi>,
Michael Halcrow <mhalcrow@us.ibm.com>,
Erez Zadok <ezk@cs.sunysb.edu>,
Christoph Hellwig <hch@infradead.org>,
Al Viro <viro@ftp.linux.org.uk>, Andrew Morton <akpm@osdl.org>,
linux-fsdevel@vger.kernel.org
Subject: [PATCH 1/3] fsstack: Make fsstack_copy_attr_all copy inode size
Date: Wed, 01 Nov 2006 22:59:28 -0500 [thread overview]
Message-ID: <20061102035930.679.85373.stgit@thor.fsl.cs.sunysb.edu> (raw)
In-Reply-To: <20061102035928.679.60601.stgit@thor.fsl.cs.sunysb.edu>
From: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
fsstack_copy_attr_all should copy the inode size in addition to all the
other attributes.
Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
---
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);
next prev parent reply other threads:[~2006-11-02 15:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-02 3:59 [PATCH 0/3] fsstack updates Josef Jeff Sipek
2006-11-02 3:59 ` Josef Jeff Sipek [this message]
2006-11-02 3:59 ` [PATCH 2/3] fsstack: Generic get/set lower object functions Josef Jeff Sipek
2006-11-02 16:06 ` Trond Myklebust
2006-11-03 3:27 ` Josef Sipek
2006-11-03 3:45 ` Mark Williamson
2006-11-03 3:51 ` Josef Sipek
2006-11-03 6:25 ` Trond Myklebust
2006-11-03 9:13 ` Pekka Enberg
2006-11-03 16:36 ` Jan Engelhardt
2006-11-03 20:47 ` Josef Sipek
2006-11-03 21:22 ` Trond Myklebust
2006-11-02 3:59 ` [PATCH 3/3] fsstack: Make ecryptfs a user of new fsstack_* functions Josef Jeff Sipek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061102035930.679.85373.stgit@thor.fsl.cs.sunysb.edu \
--to=jsipek@cs.sunysb.edu \
--cc=akpm@osdl.org \
--cc=ezk@cs.sunysb.edu \
--cc=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhalcrow@us.ibm.com \
--cc=penberg@cs.helsinki.fi \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).