static int adfs_remount(struct super_block *sb, int *flags, char *data)
{
+ *flags |= MS_NODIRATIME;
return parse_options(sb, data);
}
pr_debug("AFFS: remount(flags=0x%x,opts=\"%s\")\n",*flags,data);
+ *flags |= MS_NODIRATIME;
+
if (!parse_options(data,&uid,&gid,&mode,&reserved,&root_block,
&blocksize,&sbi->s_prefix,sbi->s_volume,&mount_flags))
return -EINVAL;
};
#endif
+static int cifs_remount(struct super_block *sb, int *flags, char *data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
struct super_operations cifs_super_ops = {
.read_inode = cifs_read_inode,
.put_super = cifs_put_super,
us with the same number of releases (closes) as opens */
.show_options = cifs_show_options,
/* .umount_begin = cifs_umount_begin, *//* consider adding in the future */
+ .remount_fs = cifs_remount,
};
static struct super_block *
printk(KERN_INFO "coda_inode_cache: not all structures were freed\n");
}
+static int coda_remount(struct super_block *sb, int *flags, char *data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
/* exported operations */
struct super_operations coda_super_operations =
{
.clear_inode = coda_clear_inode,
.put_super = coda_put_super,
.statfs = coda_statfs,
+ .remount_fs = coda_remount,
};
static int get_device_index(struct coda_mount_data *data)
printk(KERN_INFO "fat_inode_cache: not all structures were freed\n");
}
+static int fat_remount(struct super_block *sb, int *flags, char *data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
static struct super_operations fat_sops = {
.alloc_inode = fat_alloc_inode,
.destroy_inode = fat_destroy_inode,
.put_super = fat_put_super,
.statfs = fat_statfs,
.clear_inode = fat_clear_inode,
+ .remount_fs = fat_remount,
.read_inode = make_bad_inode,
int hfs_remount(struct super_block *sb, int *flags, char *data)
{
+ *flags |= MS_NODIRATIME;
if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY))
return 0;
if (!(*flags & MS_RDONLY)) {
unlock_kernel();
}
+static int jffs_remount(struct super_block *sb, int *flags, char *data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
static struct super_operations jffs_ops =
{
.read_inode = jffs_read_inode,
.put_super = jffs_put_super,
.write_super = jffs_write_super,
.statfs = jffs_statfs,
+ .remount_fs = jffs_remount,
};
static struct super_block *jffs_get_sb(struct file_system_type *fs_type,
printk(KERN_INFO "ncp_inode_cache: not all structures were freed\n");
}
+static int ncp_remount(struct super_block *sb, int *flags, char* data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
static struct super_operations ncp_sops =
{
.alloc_inode = ncp_alloc_inode,
.delete_inode = ncp_delete_inode,
.put_super = ncp_put_super,
.statfs = ncp_statfs,
+ .remount_fs = ncp_remount,
};
extern struct dentry_operations ncp_root_dentry_operations;
return 0;
}
+static int proc_remount(struct super_block *sb, int *flags, char *data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
static struct super_operations proc_sops = {
.alloc_inode = proc_alloc_inode,
.destroy_inode = proc_destroy_inode,
.drop_inode = generic_delete_inode,
.delete_inode = proc_delete_inode,
.statfs = simple_statfs,
+ .remount_fs = proc_remount,
};
enum {
printk(KERN_INFO "smb_inode_cache: not all structures were freed\n");
}
+static int smb_remount(struct super_block *sb, int *flags, char *data)
+{
+ *flags |= MS_NODIRATIME;
+ return 0;
+}
+
static struct super_operations smb_sops =
{
.alloc_inode = smb_alloc_inode,
.put_super = smb_put_super,
.statfs = smb_statfs,
.show_options = smb_show_options,
+ .remount_fs = smb_remount,
};