Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debugfs: allow read-write opening in catastrophic mode
[tools/e2fsprogs.git]
/
debugfs
/
debugfs.c
diff --git
a/debugfs/debugfs.c
b/debugfs/debugfs.c
index
cbcfa24
..
a4f3370
100644
(file)
--- a/
debugfs/debugfs.c
+++ b/
debugfs/debugfs.c
@@
-159,11
+159,6
@@
static void open_filesystem(char *device, int open_flags, blk64_t superblock,
}
}
- if (catastrophic && (open_flags & EXT2_FLAG_RW)) {
- com_err(device, 0,
- "opening read-only because of catastrophic mode");
- open_flags &= ~EXT2_FLAG_RW;
- }
if (catastrophic)
open_flags |= EXT2_FLAG_SKIP_MMP;