[lkml]   [2011]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH][RESEND] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}
commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checksdevice
assignment permission but forgot to include thedefinition of
MAY_{READ,WRITE,ACCESS} in linux/fs.hInclude it and this fix the build
error here:
Signed-off-by: Yang Bai <>--- virt/kvm/assigned-dev.c
|    1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/virt/kvm/assigned-dev.c b/virt/kvm/assigned-dev.cindex
da9690e..1d9dad0 100644--- a/virt/kvm/assigned-dev.c+++
b/virt/kvm/assigned-dev.c@@ -18,6 +18,7 @@ #include
<linux/interrupt.h> #include <linux/slab.h> #include
<linux/namei.h>+#include <linux/fs.h> #include "irq.h"  static struct
kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head

    Keep It Simple,Stupid.

Chinese Name: 白杨
Nick Name: Hamo
GPG KEY ID: 0xA4691A33
Key fingerprint = 09D5 2D78 8E2B 0995 CF8E  4331 33C4 3D24 A469 1A33
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-12-24 06:31    [W:0.040 / U:0.052 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site