aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r--fs/ext3/super.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index b34886734a44..5eec3eb409a2 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -2344,6 +2344,22 @@ static int ext3_remount (struct super_block * sb, int * flags, char * data)
2344 err = -EROFS; 2344 err = -EROFS;
2345 goto restore_opts; 2345 goto restore_opts;
2346 } 2346 }
2347
2348 /*
2349 * If we have an unprocessed orphan list hanging
2350 * around from a previously readonly bdev mount,
2351 * require a full umount/remount for now.
2352 */
2353 if (es->s_last_orphan) {
2354 printk(KERN_WARNING "EXT3-fs: %s: couldn't "
2355 "remount RDWR because of unprocessed "
2356 "orphan inode list. Please "
2357 "umount/remount instead.\n",
2358 sb->s_id);
2359 err = -EINVAL;
2360 goto restore_opts;
2361 }
2362
2347 /* 2363 /*
2348 * Mounting a RDONLY partition read-write, so reread 2364 * Mounting a RDONLY partition read-write, so reread
2349 * and store the current valid flag. (It may have 2365 * and store the current valid flag. (It may have