mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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:
parent
565762f3fa
commit
da63fc7ce6
4 changed files with 14 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue