9p: pass dotl flags to the unlinkat method
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Nov 2011 16:35:38 +0000 (17:35 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Nov 2011 20:58:49 +0000 (14:58 -0600)
commitfbd95487d193ee917d5d7e8db423dc1f327cfafc
tree27f37132c51bf5d3c8db17b36005f03ce59ab1d2
parent8bdbf86b57b751a1b2865c5e868de0bb663cc38b
9p: pass dotl flags to the unlinkat method

AT_REMOVEDIR is not defined on all systems.  Pass the raw flags from the
9p protocol, which are always there.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/9pfs/virtio-9p-handle.c
hw/9pfs/virtio-9p.c