Message ID | 42b74f46eeeae9aa4b93e4316d56e7a165a492ae.1419005022.git.dsterba@suse.cz (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On 12/19/14 10:06 AM, David Sterba wrote: > Using -I would imply -d. > > Resolves-Coverity-CID: 1258792 > Signed-off-by: David Sterba <dsterba@suse.cz> Reviewed-by: Eric Sandeen <sandeen@redhat.com> > --- > btrfs-corrupt-block.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c > index af9ae4d4047c..aeeb1b298f66 100644 > --- a/btrfs-corrupt-block.c > +++ b/btrfs-corrupt-block.c > @@ -1096,6 +1096,7 @@ int main(int ac, char **av) > break; > case 'I': > corrupt_item = 1; > + break; > case 'd': > delete = 1; > break; > -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c index af9ae4d4047c..aeeb1b298f66 100644 --- a/btrfs-corrupt-block.c +++ b/btrfs-corrupt-block.c @@ -1096,6 +1096,7 @@ int main(int ac, char **av) break; case 'I': corrupt_item = 1; + break; case 'd': delete = 1; break;
Using -I would imply -d. Resolves-Coverity-CID: 1258792 Signed-off-by: David Sterba <dsterba@suse.cz> --- btrfs-corrupt-block.c | 1 + 1 file changed, 1 insertion(+)