Home
last modified time | relevance | path

Searched refs:sb_rdonly (Results 1 – 25 of 32) sorted by relevance

12

/linux/fs/
H A Dsync.c43 if (sb_rdonly(sb)) in sync_filesystem()
76 if (!sb_rdonly(sb)) in sync_inodes_one_sb()
82 if (!sb_rdonly(sb) && !(sb->s_iflags & SB_I_SKIP_SYNC) && in sync_fs_one_sb()
H A Dsuper.c1042 remount_rw = !(fc->sb_flags & SB_RDONLY) && sb_rdonly(sb); in reconfigure_super()
1043 remount_ro = (fc->sb_flags & SB_RDONLY) && !sb_rdonly(sb); in reconfigure_super()
1055 remount_ro = !sb_rdonly(sb); in reconfigure_super()
1113 if (sb->s_bdev && !sb_rdonly(sb)) { in do_emergency_remount_callback()
2101 if (sb_rdonly(sb)) { in freeze_super()
2185 if (sb_rdonly(sb)) { in thaw_super_locked()
H A Dnamespace.c361 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
1847 if (!sb_rdonly(sb)) { in do_umount_root()
6363 if (sb_rdonly(mnt->mnt.mnt_sb)) in mnt_already_visible()
/linux/fs/jfs/
H A Dsuper.c66 if (sb_rdonly(sb)) in jfs_handle_error()
385 if (sb_rdonly(sb)) { in jfs_reconfigure()
401 if (sb_rdonly(sb) && !readonly) { in jfs_reconfigure()
417 if (!sb_rdonly(sb) && readonly) { in jfs_reconfigure()
426 if (!sb_rdonly(sb)) { in jfs_reconfigure()
529 if (sb_rdonly(sb)) in jfs_fill_super()
588 if (!sb_rdonly(sb)) { in jfs_freeze()
618 if (!sb_rdonly(sb)) { in jfs_unfreeze()
/linux/fs/hpfs/
H A Dsuper.c27 if (hpfs_sb(s)->sb_chkdsk && (remount || !sb_rdonly(s))) { in mark_dirty()
47 if (sb_rdonly(s)) return; in unmark_dirty()
79 if (sb_rdonly(s)) in hpfs_error()
86 } else if (sb_rdonly(s)) in hpfs_error()
542 if (!sb_rdonly(s) && superblock->funcversion != 2 && superblock->funcversion != 3) { in hpfs_fill_super()
602 if (!sb_rdonly(s)) { in hpfs_fill_super()
H A Dalloc.c542 if (sb_rdonly(s)) { in hpfs_trim_fs()
563 if (sb_rdonly(s)) { in hpfs_trim_fs()
/linux/fs/nilfs2/
H A Dsuper.c140 if (!sb_rdonly(sb)) { in __nilfs_error()
511 if (!sb_rdonly(sb)) { in nilfs_put_super()
591 if (sb_rdonly(sb)) in nilfs_freeze()
605 if (sb_rdonly(sb)) in nilfs_unfreeze()
898 if (!sb_rdonly(sb) && features) { in nilfs_check_feature_compatibility()
1092 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1104 if (!sb_rdonly(sb)) { in nilfs_fill_super()
1145 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in nilfs_reconfigure()
1238 sb_rdonly(s) ? "read-only" : "read/write"); in nilfs_get_tree()
/linux/fs/ufs/
H A Dsuper.c283 if (!sb_rdonly(sb)) { in ufs_error()
317 if (!sb_rdonly(sb)) { in ufs_panic()
687 if (!sb_rdonly(sb)) in ufs_put_super()
740 if (!sb_rdonly(sb)) { in ufs_fill_super()
752 UFSD("flag %u\n", (int)(sb_rdonly(sb))); in ufs_fill_super()
850 if (!sb_rdonly(sb)) { in ufs_fill_super()
866 if (!sb_rdonly(sb)) { in ufs_fill_super()
882 if (!sb_rdonly(sb)) { in ufs_fill_super()
898 if (!sb_rdonly(sb)) { in ufs_fill_super()
913 if (!sb_rdonly(sb)) { in ufs_fill_super()
[all …]
/linux/fs/ext4/
H A Dsuper.c482 if (ext4_emergency_state(sb) || sb_rdonly(sb) || in ext4_maybe_update_superblock()
767 !sb_rdonly(sbi->s_sb) && journal) { in update_super_work()
970 if (errno == -EROFS && journal_current_handle() == NULL && sb_rdonly(sb)) in __ext4_std_error()
1326 if (!ext4_emergency_state(sb) && !sb_rdonly(sb)) { in ext4_put_super()
3098 seq_puts(seq, sb_rdonly(sb) ? "ro" : "rw"); in ext4_seq_options_show()
3343 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3351 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3365 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3373 if (!sb_rdonly(sb)) in ext4_check_descriptors()
3387 if (!sb_rdonly(sb)) in ext4_check_descriptors()
[all …]
H A Dfsync.c156 if (sb_rdonly(inode->i_sb)) in ext4_sync_file()
/linux/include/linux/fs/
H A Dsuper.h185 static inline bool sb_rdonly(const struct super_block *sb) in sb_rdonly() function
/linux/fs/hfs/
H A Dsuper.c79 if (sb_rdonly(sb)) in hfs_mark_mdb_dirty()
124 if ((bool)(fc->sb_flags & SB_RDONLY) == sb_rdonly(sb)) in hfs_reconfigure()
/linux/fs/efs/
H A Dsuper.c297 if (!sb_rdonly(s)) { in efs_fill_super()
/linux/fs/jffs2/
H A Dsuper.c348 if (c && !sb_rdonly(sb)) in jffs2_kill_sb()
H A Dwbuf.c1165 if (!sb_rdonly(sb)) { in delayed_wbuf_sync()
1176 if (sb_rdonly(sb)) in jffs2_dirty_trigger()
/linux/fs/cachefiles/
H A Dcache.c73 if (sb_rdonly(root->d_sb)) in cachefiles_add_cache()
/linux/fs/btrfs/
H A Ddisk-io.c183 if (sb_rdonly(fs_info->sb)) in btrfs_repair_eb_io_failure()
2044 if (sb_rdonly(fs_info->sb)) { in btrfs_replay_log()
2935 if (sb_rdonly(sb)) in init_mount_fs_info()
3272 if (!sb_rdonly(fs_info->sb)) in fs_is_full_ro()
3421 ret = btrfs_check_features(fs_info, !sb_rdonly(sb)); in open_ctree()
3598 if (!sb_rdonly(sb) && fs_info->fs_devices->missing_devices && in open_ctree()
3651 if (sb_rdonly(sb)) in open_ctree()
4376 if (!sb_rdonly(fs_info->sb)) { in close_ctree()
H A Dsysfs.c205 if (sb_rdonly(fs_info->sb)) in btrfs_feature_attr_store()
867 if (sb_rdonly(fs_info->sb)) in btrfs_force_chunk_alloc_store()
1096 if (sb_rdonly(fs_info->sb)) in btrfs_label_store()
H A Dqgroup.c4599 if (!sb_rdonly(fs_info->sb)) in qgroup_convert_meta()
4629 if (!sb_rdonly(fs_info->sb)) in btrfs_qgroup_convert_reserved_meta()
/linux/fs/gfs2/
H A Dops_fstype.c1055 sprintf(ro, "RDONLY=%d", sb_rdonly(sb)); in gfs2_online_uevent()
1264 if (!sb_rdonly(sb)) { in gfs2_fill_super()
1274 if (!sb_rdonly(sb)) in gfs2_fill_super()
H A Drecovery.c482 if (sb_rdonly(sdp->sd_vfs)) { in gfs2_recover_func()
H A Dquota.c1318 if (sb_rdonly(sdp->sd_vfs)) in gfs2_quota_sync()
/linux/fs/overlayfs/
H A Dparams.c770 if (fc->sb_flags & SB_RDONLY && !sb_rdonly(sb)) { in ovl_reconfigure()
/linux/fs/erofs/
H A Dsuper.c828 DBG_BUGON(!sb_rdonly(sb)); in erofs_fc_reconfigure()
/linux/fs/nfs/
H A Dsuper.c664 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw"); in nfs_show_stats()

12