summaryrefslogtreecommitdiffstats
path: root/linux-headers
diff options
context:
space:
mode:
authorMax Reitz2019-04-05 21:16:35 +0200
committerEric Blake2019-05-07 16:43:42 +0200
commitc4e2aff81bef7310a4139707f8f880dbd2bab6b4 (patch)
tree7783b9d60074a03cfffd7f1d4738d7222681f400 /linux-headers
parentMerge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into sta... (diff)
downloadqemu-c4e2aff81bef7310a4139707f8f880dbd2bab6b4.tar.gz
qemu-c4e2aff81bef7310a4139707f8f880dbd2bab6b4.tar.xz
qemu-c4e2aff81bef7310a4139707f8f880dbd2bab6b4.zip
qemu-nbd: Look up flag names in array
The existing code to convert flag bits into strings looks a bit strange now, and if we ever add more flags, it will look even stranger. Prevent that from happening by making it look up the flag names in an array. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20190405191635.25740-1-mreitz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions