block: Dont ignore previously set bdrv_flags
authorM. Mohan Kumar <mohan@in.ibm.com>
Wed, 14 Aug 2013 12:26:41 +0000 (17:56 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 14 Aug 2013 13:34:00 +0000 (08:34 -0500)
commit8b7a5415f9297c1fbae5bff28dcb059d50c1b045
treee4a1a33aed6ab5fb246c3a83c15a35ecfd8e5ff5
parent3a3567d337d3ee6fb2e2fcc1d27cd045ed97ae9b
block: Dont ignore previously set bdrv_flags

bdrv_flags is set by bdrv_parse_discard_flags(), but later it is reset
to zero.

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Message-id: 1376483201-13466-1-git-send-email-mohan@in.ibm.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
blockdev.c