mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -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
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue