]> git.karo-electronics.de Git - linux-beck.git/commit
nbd: Move flag parsing to a function
authorMarkus Pargmann <mpa@pengutronix.de>
Thu, 29 Oct 2015 11:06:15 +0000 (12:06 +0100)
committerMarkus Pargmann <mpa@pengutronix.de>
Fri, 5 Feb 2016 07:52:33 +0000 (08:52 +0100)
commitd02cf53107792df373558851d6162dc4e4ceb95a
tree670e8f839edac965a72446ea3a4d70f86ed4ef2e
parent0e4f0f6f63d3416a9e529d99febfe98545427b81
nbd: Move flag parsing to a function

nbd changes properties of the blockdevice depending on flags that were
received. This patch moves this flag parsing into a separate function
nbd_parse_flags().

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
drivers/block/nbd.c