]> www.infradead.org Git - users/hch/block.git/commit
drbd: cleanup decide_on_discard_support
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Mar 2022 09:11:54 +0000 (10:11 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 14 Apr 2022 04:20:45 +0000 (06:20 +0200)
commite9cadbb15d715daecc44d87fd01c56efdb5eb573
tree3fb4b2e938359872b71667d6ad519dde87a34b88
parent5ef4d4b8e574dce16100d88ff0baf19c14aab0da
drbd: cleanup decide_on_discard_support

Sanitize the calling conventions and use a goto label to cleanup the
code flow.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
drivers/block/drbd/drbd_nl.c