]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/msdos/namei.c
NFS: Use common device name parsing logic for NFSv4 and NFSv2/v3
[linux-2.6-omap-h63xx.git] / fs / msdos / namei.c
index b0f01b3b0536de2dbe775a2d2d2988d255f7fba5..05ff4f1d7026f4fbed45d09208c4b8cda3a0a72e 100644 (file)
@@ -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)