]> www.infradead.org Git - users/hch/configfs.git/commit
ifcvf: ignore continuous setting same status value
authorZhu Lingshan <lingshan.zhu@intel.com>
Fri, 5 Jun 2020 10:27:12 +0000 (18:27 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 6 Jun 2020 20:25:22 +0000 (16:25 -0400)
commitbb02e6e63d0e71188bc5fe5f4732e66bc8b5dceb
tree2756d7ad22cb91e2b47ade6dd8d9603eea5d05cc
parentfce8afd76e3a4d8c59c92f84f8027569fd7031d0
ifcvf: ignore continuous setting same status value

User space may try to set status of same value multiple times,
this patch handles this case more efficiently by ignoring the
setting of the same status value.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/1591352835-22441-3-git-send-email-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/ifcvf/ifcvf_main.c