]> err.no Git - linux-2.6/commit
lguest: make write() operation smp aware
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Mon, 7 Jan 2008 13:05:26 +0000 (11:05 -0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 30 Jan 2008 11:50:07 +0000 (22:50 +1100)
commit7ea07a1500f05e06ebf0136763c781244f77a2a1
tree3b0e4f64c87c4d668a49d6f979ed4d5ac0137a4f
parentd0953d42c3445a120299fac9ad70e672d77898e9
lguest: make write() operation smp aware

This patch makes the write() file operation smp aware. Which means, receiving
the vcpu_id value through the offset parameter, and being well aware to which
vcpu we're talking to.

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest_user.c