lkml.org 
[lkml]   [2009]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Ecryptfs-devel] [PATCH] ecryptfs: some inode attrs, and a question
From
Date
On Mon, 2009-01-19 at 11:17 +0900, hooanon05@yahoo.co.jp wrote:
> Dave Kleikamp:
> > For a regular file, the size of the upper inode is not the same as the
> > size of the lower inode. The lower inode includes the header blocks
> > which are not visible in the upper inode. So ecryptfs_interpose() will
> > overwrite the correct upper inode size.
>
> Then it means updating i_size in ecryptfs_link() is unnecessary...

It's restoring i_size to the correct value after ecryptfs_interpose
updates it with the wrong value.

Shaggy
--
David Kleikamp
IBM Linux Technology Center



\
 
 \ /
  Last update: 2009-01-19 16:05    [W:0.065 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site