File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -355,18 +355,17 @@ static struct inode *openprom_iget(struct super_block *sb, ino_t ino)
355
355
return inode ;
356
356
}
357
357
358
- static int openprom_remount (struct super_block * sb , int * flags , char * data )
358
+ static int openpromfs_reconfigure (struct fs_context * fc )
359
359
{
360
- sync_filesystem (sb );
361
- * flags |= SB_NOATIME ;
360
+ sync_filesystem (fc -> root -> d_sb );
361
+ fc -> sb_flags |= SB_NOATIME ;
362
362
return 0 ;
363
363
}
364
364
365
365
static const struct super_operations openprom_sops = {
366
366
.alloc_inode = openprom_alloc_inode ,
367
367
.free_inode = openprom_free_inode ,
368
368
.statfs = simple_statfs ,
369
- .remount_fs = openprom_remount ,
370
369
};
371
370
372
371
static int openprom_fill_super (struct super_block * s , struct fs_context * fc )
@@ -415,6 +414,7 @@ static int openpromfs_get_tree(struct fs_context *fc)
415
414
416
415
static const struct fs_context_operations openpromfs_context_ops = {
417
416
.get_tree = openpromfs_get_tree ,
417
+ .reconfigure = openpromfs_reconfigure ,
418
418
};
419
419
420
420
static int openpromfs_init_fs_context (struct fs_context * fc )
You can’t perform that action at this time.
0 commit comments