X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fvfat%2Fnamei.c;h=c28add2fbe95eebce0ec79de64e8389be793ea26;hb=9468482bd4c3b89abe04a770848d5eaa1ea830b0;hp=edb711ff7b05781b624b310dcf7b360f2c683745;hpb=ccaa36f73544163ef6e15eb29a620130755f6001;p=linux-2.6-omap-h63xx.git diff --git a/fs/vfat/namei.c b/fs/vfat/namei.c index edb711ff7b0..c28add2fbe9 100644 --- a/fs/vfat/namei.c +++ b/fs/vfat/namei.c @@ -996,7 +996,7 @@ error_inode: goto out; } -static struct inode_operations vfat_dir_inode_operations = { +static const struct inode_operations vfat_dir_inode_operations = { .create = vfat_create, .lookup = vfat_lookup, .unlink = vfat_unlink, @@ -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)