commit | 765e03f0374b655ba99c0881aebf6c101098c282 | [log] [tgz] |
---|---|---|
author | Lukas Czerner <lczerner@redhat.com> | Thu Sep 15 23:55:23 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Sep 15 23:55:23 2011 -0400 |
tree | 59c178b763ef4305f63a591a6a3747ad775a8874 | |
parent | 2fa1679adb2be88cddcdc98bed325ac0ce72ef93 [diff] |
e2fsck: do not attempt to discard if -n was specified If '-n' option is specified there should be no changes made to the file system hence we should not attempt to discard the file system. This commit adds a check into the e2fsck_discard_blocks() condition so it skip discard if E2F_OPT_NO flag is set. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>