]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] inode-diet: Eliminate i_blksize from the inode structure
authorTheodore Ts'o <tytso@mit.edu>
Wed, 27 Sep 2006 08:50:49 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:18 +0000 (08:26 -0700)
commitba52de123d454b57369f291348266d86f4b35070
tree3973f3f3c853b5857b6b64a027cadd4fe954e3b9
parent577c4eb09d1034d0739e3135fd2cff50588024be
[PATCH] inode-diet: Eliminate i_blksize from the inode structure

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.

[bunk@stusta.de: cleanup]
[akpm@osdl.org: generic_fillattr() fix]
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
80 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
arch/s390/hypfs/inode.c
drivers/block/loop.c
drivers/infiniband/hw/ipath/ipath_fs.c
drivers/isdn/capi/capifs.c
drivers/misc/ibmasm/ibmasmfs.c
drivers/oprofile/oprofilefs.c
drivers/usb/core/inode.c
drivers/usb/gadget/inode.c
fs/9p/vfs_inode.c
fs/adfs/inode.c
fs/afs/inode.c
fs/autofs/inode.c
fs/autofs4/inode.c
fs/befs/linuxvfs.c
fs/bfs/dir.c
fs/bfs/inode.c
fs/binfmt_misc.c
fs/cifs/cifsfs.c
fs/cifs/readdir.c
fs/coda/coda_linux.c
fs/configfs/inode.c
fs/cramfs/inode.c
fs/debugfs/inode.c
fs/devpts/inode.c
fs/eventpoll.c
fs/ext2/ialloc.c
fs/ext2/inode.c
fs/ext3/ialloc.c
fs/ext3/inode.c
fs/fat/inode.c
fs/freevxfs/vxfs_inode.c
fs/fuse/inode.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/hostfs/hostfs_kern.c
fs/hpfs/inode.c
fs/hppfs/hppfs_kern.c
fs/hugetlbfs/inode.c
fs/isofs/inode.c
fs/jffs/inode-v23.c
fs/jffs2/fs.c
fs/jfs/jfs_extent.c
fs/jfs/jfs_imap.c
fs/jfs/jfs_inode.c
fs/jfs/jfs_metapage.c
fs/libfs.c
fs/minix/bitmap.c
fs/minix/inode.c
fs/ncpfs/inode.c
fs/nfs/inode.c
fs/ntfs/inode.c
fs/ntfs/mft.c
fs/ocfs2/dlm/dlmfs.c
fs/ocfs2/inode.c
fs/pipe.c
fs/qnx4/inode.c
fs/ramfs/inode.c
fs/reiserfs/inode.c
fs/smbfs/inode.c
fs/smbfs/proc.c
fs/stat.c
fs/sysfs/inode.c
fs/sysv/ialloc.c
fs/sysv/inode.c
fs/udf/ialloc.c
fs/udf/inode.c
fs/ufs/ialloc.c
fs/ufs/inode.c
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_vnode.c
include/linux/fs.h
include/linux/nfsd/nfsfh.h
include/linux/smb.h
ipc/mqueue.c
kernel/cpuset.c
mm/shmem.c
net/sunrpc/rpc_pipe.c
security/inode.c
security/selinux/selinuxfs.c