Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
quota
/
quota_interface.c
diff --git
a/lustre/quota/quota_interface.c
b/lustre/quota/quota_interface.c
index
dff20af
..
e035ceb
100644
(file)
--- a/
lustre/quota/quota_interface.c
+++ b/
lustre/quota/quota_interface.c
@@
-353,9
+353,9
@@
static int filter_quota_enforce(struct obd_device *obd, unsigned int ignore)
RETURN(0);
if (ignore)
- c
ap_raise(current->cap_effective,
CAP_SYS_RESOURCE);
+ c
fs_cap_raise(CFS_
CAP_SYS_RESOURCE);
else
- c
ap_lower(current->cap_effective,
CAP_SYS_RESOURCE);
+ c
fs_cap_lower(CFS_
CAP_SYS_RESOURCE);
RETURN(0);
}