/linux-2.4.37.9/fs/hfs/ |
D | super.c | 100 if (!(sb->s_flags & MS_RDONLY)) { in hfs_write_super() 118 if (!(sb->s_flags & MS_RDONLY)) { in hfs_put_super() 124 hfs_mdb_put(mdb, sb->s_flags & MS_RDONLY); in hfs_put_super() 421 mdb = hfs_mdb_get(s, s->s_flags & MS_RDONLY, 0); in hfs_read_super() 428 mdb = hfs_mdb_get(s, s->s_flags & MS_RDONLY, part_start); in hfs_read_super() 435 mdb = hfs_mdb_get(s, s->s_flags & MS_RDONLY, part_start); in hfs_read_super() 449 s->s_flags |= MS_RDONLY; in hfs_read_super() 485 hfs_mdb_put(mdb, s->s_flags & MS_RDONLY); in hfs_read_super() 501 if ((*flags & MS_RDONLY) == (s->s_flags & MS_RDONLY)) in hfs_remount() 503 if (!(*flags & MS_RDONLY)) { in hfs_remount() [all …]
|
/linux-2.4.37.9/fs/ufs/ |
D | super.c | 194 if (!(sb->s_flags & MS_RDONLY)) { in ufs_error() 198 sb->s_flags |= MS_RDONLY; in ufs_error() 226 if (!(sb->s_flags & MS_RDONLY)) { in ufs_panic() 234 sb->s_flags |= MS_RDONLY; in ufs_panic() 455 UFSD(("flag %u\n", (int)(sb->s_flags & MS_RDONLY))) in ufs_read_super() 458 if (!(sb->s_flags & MS_RDONLY)) { in ufs_read_super() 533 if (!(sb->s_flags & MS_RDONLY)) { in ufs_read_super() 535 sb->s_flags |= MS_RDONLY; in ufs_read_super() 547 if (!(sb->s_flags & MS_RDONLY)) { in ufs_read_super() 549 sb->s_flags |= MS_RDONLY; in ufs_read_super() [all …]
|
/linux-2.4.37.9/fs/jfs/ |
D | super.c | 84 if (sb->s_flags & MS_RDONLY) in jfs_handle_error() 96 sb->s_flags |= MS_RDONLY; in jfs_handle_error() 279 if (sb->s_flags & MS_RDONLY) { in jfs_remount() 289 if ((sb->s_flags & MS_RDONLY) && !(*flags & MS_RDONLY)) { in jfs_remount() 293 if ((!(sb->s_flags & MS_RDONLY)) && (*flags & MS_RDONLY)) { in jfs_remount() 299 if (!(sb->s_flags & MS_RDONLY)) { in jfs_remount() 362 if (sb->s_flags & MS_RDONLY) in jfs_read_super() 421 if (!(sb->s_flags & MS_RDONLY)) { in jfs_write_super_lockfs() 434 if (!(sb->s_flags & MS_RDONLY)) { in jfs_unlockfs()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | super.c | 167 if (sb->s_flags & MS_RDONLY) in hfsplus_write_super() 204 if (!(sb->s_flags & MS_RDONLY)) { in hfsplus_put_super() 238 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in hfsplus_remount() 240 if (!(*flags & MS_RDONLY)) { in hfsplus_remount() 247 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 248 *flags |= MS_RDONLY; in hfsplus_remount() 251 sb->s_flags |= MS_RDONLY; in hfsplus_remount() 252 *flags |= MS_RDONLY; in hfsplus_remount() 351 sb->s_flags |= MS_RDONLY; in hfsplus_read_super() 355 sb->s_flags |= MS_RDONLY; in hfsplus_read_super() [all …]
|
/linux-2.4.37.9/fs/jffs2/ |
D | super.c | 273 if (!(sb->s_flags & MS_RDONLY)) in jffs2_read_super() 294 if (!(sb->s_flags & MS_RDONLY)) in jffs2_put_super() 310 if (c->flags & JFFS2_SB_FLAG_RO && !(sb->s_flags & MS_RDONLY)) in jffs2_remount_fs() 316 if (!(sb->s_flags & MS_RDONLY)) in jffs2_remount_fs() 319 if (!(*flags & MS_RDONLY)) in jffs2_remount_fs() 322 sb->s_flags = (sb->s_flags & ~MS_RDONLY)|(*flags & MS_RDONLY); in jffs2_remount_fs() 332 if (sb->s_flags & MS_RDONLY) in jffs2_write_super()
|
/linux-2.4.37.9/fs/ext3/ |
D | super.c | 159 if (sb->s_flags & MS_RDONLY) in ext3_handle_error() 173 sb->s_flags |= MS_RDONLY; in ext3_handle_error() 270 if (sb->s_flags & MS_RDONLY) in ext3_abort() 275 sb->s_flags |= MS_RDONLY; in ext3_abort() 297 sb->s_flags |= MS_RDONLY; in ext3_panic() 410 if (!(sb->s_flags & MS_RDONLY)) { in ext3_put_super() 678 res = MS_RDONLY; in ext3_setup_super() 854 if (s_flags & MS_RDONLY) { in ext3_orphan_cleanup() 857 sb->s_flags &= ~MS_RDONLY; in ext3_orphan_cleanup() 1003 if (!(sb->s_flags & MS_RDONLY) && in ext3_read_super() [all …]
|
/linux-2.4.37.9/fs/affs/ |
D | super.c | 43 if (!(sb->s_flags & MS_RDONLY)) { in affs_put_super() 64 if (!(sb->s_flags & MS_RDONLY)) { in affs_write_super() 348 || chksum == MUFS_DCOFS) && !(sb->s_flags & MS_RDONLY)) { in affs_read_super() 351 sb->s_flags |= MS_RDONLY; in affs_read_super() 461 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in affs_remount() 463 if (*flags & MS_RDONLY) { in affs_remount()
|
D | bitmap.c | 53 if (sb->s_flags & MS_RDONLY) in affs_count_free_blocks() 279 if (*flags & MS_RDONLY) in affs_init_bitmap() 285 *flags |= MS_RDONLY; in affs_init_bitmap() 319 *flags |= MS_RDONLY; in affs_init_bitmap()
|
D | amigaffs.c | 458 if (!(sb->s_flags & MS_RDONLY)) in affs_error() 460 sb->s_flags |= MS_RDONLY; in affs_error()
|
/linux-2.4.37.9/fs/ext2/ |
D | super.c | 42 if (!(sb->s_flags & MS_RDONLY)) { in ext2_error() 62 sb->s_flags |= MS_RDONLY; in ext2_error() 71 if (!(sb->s_flags & MS_RDONLY)) { in ext2_panic() 81 sb->s_flags |= MS_RDONLY; in ext2_panic() 128 if (!(sb->s_flags & MS_RDONLY)) { in ext2_put_super() 293 res = MS_RDONLY; in ext2_setup_super() 502 if (!(sb->s_flags & MS_RDONLY) && in ext2_read_super() 677 ext2_setup_super (sb, es, sb->s_flags & MS_RDONLY); in ext2_read_super() 725 if (!(sb->s_flags & MS_RDONLY)) { in ext2_write_super() 760 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in ext2_remount() [all …]
|
/linux-2.4.37.9/fs/hpfs/ |
D | super.c | 18 if (s->s_hpfs_chkdsk && !(s->s_flags & MS_RDONLY)) { in mark_dirty() 37 if (s->s_flags & MS_RDONLY) return; in unmark_dirty() 68 if (s->s_flags & MS_RDONLY) printk("; already mounted read-only\n"); in hpfs_error() 72 s->s_flags |= MS_RDONLY; in hpfs_error() 74 …} else if (s->s_flags & MS_RDONLY) printk("; going on - but anything won't be destroyed because it… in hpfs_error() 357 if (!(*flags & MS_RDONLY)) mark_dirty(s); in hpfs_remount_fs() 429 if (!(s->s_flags & MS_RDONLY) && in hpfs_read_super() 479 if (!(s->s_flags & MS_RDONLY)) { in hpfs_read_super()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | super.c | 58 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_write_super() 71 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_write_super_lockfs() 349 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_put_super() 395 if (inode->i_sb->s_flags & MS_RDONLY) { in reiserfs_dirty_inode() 708 if (*mount_flags & MS_RDONLY) { in reiserfs_remount() 710 if (s->s_flags & MS_RDONLY) in reiserfs_remount() 726 if (!(s->s_flags & MS_RDONLY)) in reiserfs_remount() 729 s->s_flags &= ~MS_RDONLY ; /* now it is safe to call journal_begin */ in reiserfs_remount() 735 s->s_flags &= ~MS_RDONLY; in reiserfs_remount() 746 if (!( *mount_flags & MS_RDONLY ) ) in reiserfs_remount() [all …]
|
/linux-2.4.37.9/fs/ |
D | super.c | 551 if (!(flags & MS_RDONLY) && sb->s_dev && is_read_only(sb->s_dev)) in do_remount_sb() 554 if (flags & MS_RDONLY) in do_remount_sb() 559 if ((flags & MS_RDONLY) && !(sb->s_flags & MS_RDONLY)) in do_remount_sb() 688 if (!(flags & MS_RDONLY)) in get_sb_bdev() 696 if (!(flags & MS_RDONLY) && is_read_only(dev)) in get_sb_bdev() 713 ((flags ^ old->s_flags) & MS_RDONLY)) { in get_sb_bdev()
|
/linux-2.4.37.9/fs/minix/ |
D | inode.c | 49 if (!(sb->s_flags & MS_RDONLY)) { in minix_write_super() 64 if (!(sb->s_flags & MS_RDONLY)) { in minix_put_super() 93 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in minix_remount() 95 if (*flags & MS_RDONLY) { in minix_remount() 227 if (!(s->s_flags & MS_RDONLY)) { in minix_read_super()
|
/linux-2.4.37.9/init/ |
D | do_mounts.c | 54 int root_mountflags = MS_RDONLY | MS_VERBOSE; 73 root_mountflags |= MS_RDONLY; in readonly() 81 root_mountflags &= ~MS_RDONLY; in readwrite() 369 flags |= MS_RDONLY; in mount_block_root() 392 (current->fs->pwdmnt->mnt_sb->s_flags & MS_RDONLY) ? " readonly" : ""); in mount_block_root() 831 mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY); in handle_initrd()
|
/linux-2.4.37.9/fs/udf/ |
D | super.c | 293 if (!(sb->s_flags & MS_RDONLY)) in udf_write_super() 317 *flags |= MS_RDONLY; in udf_remount_fs() 320 if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) in udf_remount_fs() 322 if (*flags & MS_RDONLY) in udf_remount_fs() 1377 sb->s_flags |= MS_RDONLY; in udf_read_super() 1464 sb->s_flags |= MS_RDONLY; in udf_read_super() 1496 if (!(sb->s_flags & MS_RDONLY)) in udf_read_super() 1558 if (!(sb->s_flags & MS_RDONLY)) in udf_read_super() 1570 if (!(sb->s_flags & MS_RDONLY)) in udf_error() 1648 if (!(sb->s_flags & MS_RDONLY)) in udf_put_super()
|
/linux-2.4.37.9/fs/efs/ |
D | super.c | 187 if (!(s->s_flags & MS_RDONLY)) { in efs_read_super() 191 s->s_flags |= MS_RDONLY; in efs_read_super()
|
/linux-2.4.37.9/fs/sysv/ |
D | super.c | 208 if (!(sb->s_flags & MS_RDONLY)) { in detect_sysv() 212 sb->s_flags |= MS_RDONLY; in detect_sysv() 236 sb->s_flags |= MS_RDONLY; in detect_sysv() 340 sb->s_flags |= MS_RDONLY; in complete_read_super()
|
D | inode.c | 34 if (!(sb->s_flags & MS_RDONLY)) { in sysv_write_super() 51 if (!(sb->s_flags & MS_RDONLY)) { in sysv_put_super()
|
/linux-2.4.37.9/include/linux/ |
D | ext3_jbd.h | 201 if (inode->i_sb->s_flags & MS_RDONLY) in ext3_journal_start() 220 if (inode->i_sb->s_flags & MS_RDONLY) in ext3_journal_try_start()
|
D | bfs_fs.h | 77 ((bfs_sb->s_from != -1) && (bfs_sb->s_to != -1) && !(sb->s_flags & MS_RDONLY))
|
/linux-2.4.37.9/drivers/char/ |
D | sysrq.c | 150 if (sb->s_flags & MS_RDONLY) { in go_sync() 165 flags = MS_RDONLY; in go_sync()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_super.c | 612 if (sb->s_flags & MS_RDONLY) { in linvfs_write_super() 669 if (sb && !(sb->s_flags & MS_RDONLY)) { in freeze_bdev() 719 if (sb->s_flags & MS_RDONLY) in linvfs_freeze_fs() 896 if (sb->s_flags & MS_RDONLY) in linvfs_read_super()
|
/linux-2.4.37.9/fs/bfs/ |
D | inode.c | 207 if (!(s->s_flags & MS_RDONLY)) in bfs_write_super() 316 if (!(s->s_flags & MS_RDONLY)) { in bfs_read_super()
|
/linux-2.4.37.9/fs/fat/ |
D | misc.c | 45 not_ro = !(s->s_flags & MS_RDONLY); in fat_fs_panic() 46 if (not_ro) s->s_flags |= MS_RDONLY; in fat_fs_panic()
|