X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fmsdos%2Fnamei.c;h=30f7d0ae221551b95024ceae92ae9078f30b5484;hb=8488df894d05d6fa41c2bd298c335f944bb0e401;hp=b0f01b3b0536de2dbe775a2d2d2988d255f7fba5;hpb=12e36b2f41b6cbc67386fcb9c59c32a3e2033905;p=powerpc.git diff --git a/fs/msdos/namei.c b/fs/msdos/namei.c index b0f01b3b05..30f7d0ae22 100644 --- a/fs/msdos/namei.c +++ b/fs/msdos/namei.c @@ -646,7 +646,7 @@ out: return err; } -static struct inode_operations msdos_dir_inode_operations = { +static const struct inode_operations msdos_dir_inode_operations = { .create = msdos_create, .lookup = msdos_lookup, .unlink = msdos_unlink, @@ -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)