[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

@ -654,6 +654,7 @@ static struct inode_operations msdos_dir_inode_operations = {
.rmdir = msdos_rmdir,
.rename = msdos_rename,
.setattr = fat_notify_change,
.getattr = fat_getattr,
};
static int msdos_fill_super(struct super_block *sb, void *data, int silent)