commit | fecb231f6fc83cf4b4ddf7ec34ace3723803a499 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Fri Nov 07 21:26:14 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Nov 07 21:26:14 2014 -0500 |
tree | 463208d1c664959e9d7a99ee31d511da517146be | |
parent | beec19ff21d41c84dbbc2ab8d0df25147912ff59 [diff] |
dumpe2fs: don't crash when the user provides no block device argument If the user doesn't provide any arguments, the guard fails to run and the whole thing segfaults on ext2fs_open2(). Don't do that. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>