git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
fs
/
ioprio.c
diff --git
a/fs/ioprio.c
b/fs/ioprio.c
index
ca77008
..
66240ed
100644
(file)
--- a/
fs/ioprio.c
+++ b/
fs/ioprio.c
@@
-24,6
+24,7
@@
#include <linux/blkdev.h>
#include <linux/capability.h>
#include <linux/syscalls.h>
#include <linux/blkdev.h>
#include <linux/capability.h>
#include <linux/syscalls.h>
+#include <linux/vs_cvirt.h>
static int set_task_ioprio(struct task_struct *task, int ioprio)
{
static int set_task_ioprio(struct task_struct *task, int ioprio)
{
@@
-95,7
+96,7
@@
asmlinkage long sys_ioprio_set(int which, int who, int ioprio)
if (!who)
user = current->user;
else
if (!who)
user = current->user;
else
- user = find_user(who);
+ user = find_user(
vx_current_xid(),
who);
if (!user)
break;
if (!user)
break;
@@
-149,7
+150,7
@@
asmlinkage long sys_ioprio_get(int which, int who)
if (!who)
user = current->user;
else
if (!who)
user = current->user;
else
- user = find_user(who);
+ user = find_user(
vx_current_xid(),
who);
if (!user)
break;
if (!user)
break;