X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fmsdos%2Fnamei.c;h=05ff4f1d7026f4fbed45d09208c4b8cda3a0a72e;hb=c92758ceda477b1333fde35327cfa867dcc47bd1;hp=452461955cbdced2ba1c4df8d936966fbb08e848;hpb=463e7c7cf9aaf95dd05e97e1a47854fdf5454cdc;p=mv-sheeva.git diff --git a/fs/msdos/namei.c b/fs/msdos/namei.c index 452461955cb..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,14 @@ 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, };