Home
last modified time | relevance | path

Searched refs:MS_RDONLY (Results 1 – 25 of 57) sorted by relevance

123

/linux-2.4.37.9/fs/hfs/
Dsuper.c100 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/
Dsuper.c194 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/
Dsuper.c84 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/
Dsuper.c167 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/
Dsuper.c273 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/
Dsuper.c159 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/
Dsuper.c43 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()
Dbitmap.c53 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()
Damigaffs.c458 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/
Dsuper.c42 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/
Dsuper.c18 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/
Dsuper.c58 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/
Dsuper.c551 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/
Dinode.c49 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/
Ddo_mounts.c54 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/
Dsuper.c293 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/
Dsuper.c187 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/
Dsuper.c208 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()
Dinode.c34 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/
Dext3_jbd.h201 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()
Dbfs_fs.h77 ((bfs_sb->s_from != -1) && (bfs_sb->s_to != -1) && !(sb->s_flags & MS_RDONLY))
/linux-2.4.37.9/drivers/char/
Dsysrq.c150 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/
Dxfs_super.c612 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/
Dinode.c207 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/
Dmisc.c45 not_ro = !(s->s_flags & MS_RDONLY); in fat_fs_panic()
46 if (not_ro) s->s_flags |= MS_RDONLY; in fat_fs_panic()

123