[PATCH] fat: add fat_getattr()

This adds fat_getattr() for setting stat->blksize. (FAT uses the size
of cluster for proper I/O)

Signed-off-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
OGAWA Hirofumi 2006-11-16 01:19:28 -08:00 • committed by Linus Torvalds
commit da63fc7ce6
4 changed files with 14 additions and 0 deletions

View file

@ -1004,6 +1004,7 @@ static struct inode_operations vfat_dir_inode_operations = {
.rmdir = vfat_rmdir,
.rename = vfat_rename,
.setattr = fat_notify_change,
.getattr = fat_getattr,
};
static int vfat_fill_super(struct super_block *sb, void *data, int silent)