Re: [Ecryptfs-devel] [PATCH] ecryptfs: some inode attrs, and a question

From: hooanon05
Date: Sun Jan 18 2009 - 21:17:51 EST



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...


J. R. Okajima
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/