lkml.org 
[lkml]   [2009]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Ecryptfs-devel] [PATCH] ecryptfs: some inode attrs, and a question
Date

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.
:::
> It's restoring i_size to the correct value after ecryptfs_interpose
> updates it with the wrong value.

Does "ecryptfs_interpose() will overwrite the correct upper inode size"
means ecryptfs_interpose() sets a wrong value?
If so, I can understand why ecryptfs_link() sets i_size.


J. R. Okajima


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