Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47593
b: refs/heads/master
c: ead6596
h: refs/heads/master
i:
  47591: 174256a
v: v3
  • Loading branch information
Eric Sandeen authored and Linus Torvalds committed Feb 11, 2007
1 parent d2e46ba commit 8909cd6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea9a05a1330053759c02eb2c60547085140a4cbd
refs/heads/master: ead6596b9e776ac32d82f7d1931d7638e6d4a7bd
16 changes: 16 additions & 0 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -2419,6 +2419,22 @@ static int ext4_remount (struct super_block * sb, int * flags, char * data)
err = -EROFS;
goto restore_opts;
}

/*
* If we have an unprocessed orphan list hanging
* around from a previously readonly bdev mount,
* require a full umount/remount for now.
*/
if (es->s_last_orphan) {
printk(KERN_WARNING "EXT4-fs: %s: couldn't "
"remount RDWR because of unprocessed "
"orphan inode list. Please "
"umount/remount instead.\n",
sb->s_id);
err = -EINVAL;
goto restore_opts;
}

/*
* Mounting a RDONLY partition read-write, so reread
* and store the current valid flag. (It may have
Expand Down

0 comments on commit 8909cd6

Please sign in to comment.