libqos/ahci: Fix sector set method
commit455e861cc625891baacf74e66c31a914883b80ca
authorJohn Snow <jsnow@redhat.com>
Fri, 22 May 2015 18:13:42 +0000 (22 14:13 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 22 May 2015 19:58:22 +0000 (22 15:58 -0400)
tree5b32cafc677f1ebf0ca011db453ae9e843fd571a
parent008b6e123ff2ee421112768e838b0b44bc7f6c45
libqos/ahci: Fix sector set method

|| probably does not mean the same thing as |.

Additionally, allow users to submit a prd_size of 0
to indicate that they'd like to continue using the default.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1430417242-11859-3-git-send-email-jsnow@redhat.com
tests/libqos/ahci.c