diff options
author | Lukas Czerner <lczerner@redhat.com> | 2011-09-15 23:55:23 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-15 23:55:23 -0400 |
commit | 765e03f0374b655ba99c0881aebf6c101098c282 (patch) | |
tree | 59c178b763ef4305f63a591a6a3747ad775a8874 /misc | |
parent | 2fa1679adb2be88cddcdc98bed325ac0ce72ef93 (diff) | |
download | e2fsprogs-765e03f0374b655ba99c0881aebf6c101098c282.tar.gz |
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>
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions