From: "Theodore Ts'o" This eliminates the i_blksize field from struct inode. Filesystems that want to provide a per-inode st_blksize can do so by providing their own getattr routine instead of using the generic_fillattr() function. Note that some filesystems were providing pretty much random (and incorrect) values for i_blksize. Signed-off-by: "Theodore Ts'o" Signed-off-by: Andrew Morton --- fs/ecryptfs/inode.c | 1 - 1 file changed, 1 deletion(-) diff -puN fs/ecryptfs/inode.c~inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default-ecryptfs fs/ecryptfs/inode.c --- a/fs/ecryptfs/inode.c~inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default-ecryptfs +++ a/fs/ecryptfs/inode.c @@ -91,7 +91,6 @@ void ecryptfs_copy_attr_all(struct inode dest->i_atime = src->i_atime; dest->i_mtime = src->i_mtime; dest->i_ctime = src->i_ctime; - dest->i_blksize = src->i_blksize; dest->i_blkbits = src->i_blkbits; dest->i_flags = src->i_flags; } _