]> git.baikalelectronics.ru Git - kernel.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)
commit2a6d78768da6b05afc659e5cbae1b5fa84146574
tree670e8f839edac965a72446ea3a4d70f86ed4ef2e
parent0b3a4e64ea96419be43ef24523af0db858023754
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