Re: [kvm-devel] [PATCH] Remove stat_set from debugfs

2007-08-01 Thread Avi Kivity
Rusty Russell wrote: > We shouldn't define stat_set on the debug attributes, since that will > cause silent failure on writing: without a set argument, userspace > will get -EACCESS. > EAPPLIED, ETHANKS. -- error compiling committee.c: too many arguments to function

[kvm-devel] [PATCH] Remove stat_set from debugfs

2007-07-31 Thread Rusty Russell
We shouldn't define stat_set on the debug attributes, since that will cause silent failure on writing: without a set argument, userspace will get -EACCESS. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> diff -r 968bc14f06fd drivers/kvm/kvm_main.c --- a/drivers/kvm/kvm_main.cTue Jul 31 19:34