X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fmsdos%2Fnamei.c;h=05ff4f1d7026f4fbed45d09208c4b8cda3a0a72e;hb=dc04589827f7e1af12714af8bb00e3f3c4c48c62;hp=b0f01b3b0536de2dbe775a2d2d2988d255f7fba5;hpb=6f3a28f7d1f0a65a78443c273b6e8ec01becf301;p=linux-2.6-omap-h63xx.git diff --git a/fs/msdos/namei.c b/fs/msdos/namei.c index b0f01b3b053..05ff4f1d702 100644 --- a/fs/msdos/namei.c +++ b/fs/msdos/namei.c @@ -609,7 +609,7 @@ error_inode: if (corrupt < 0) { fat_fs_panic(new_dir->i_sb, "%s: Filesystem corrupted (i_pos %lld)", - __FUNCTION__, sinfo.i_pos); + __func__, sinfo.i_pos); } goto out; } @@ -646,14 +646,15 @@ 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, .mkdir = msdos_mkdir, .rmdir = msdos_rmdir, .rename = msdos_rename, - .setattr = fat_notify_change, + .setattr = fat_setattr, + .getattr = fat_getattr, }; static int msdos_fill_super(struct super_block *sb, void *data, int silent)