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
LU-9859 libcfs: replace all CFS_CAP_* macros with CAP_*
[fs/lustre-release.git]
/
lustre
/
obdclass
/
class_obd.c
diff --git
a/lustre/obdclass/class_obd.c
b/lustre/obdclass/class_obd.c
index
9b34434
..
6a9dc6c
100644
(file)
--- a/
lustre/obdclass/class_obd.c
+++ b/
lustre/obdclass/class_obd.c
@@
-484,7
+484,7
@@
static long obd_class_ioctl(struct file *filp, unsigned int cmd,
ENTRY;
/* Allow non-root access for some limited ioctls */
- if (!cfs_capable(C
FS_C
AP_SYS_ADMIN))
+ if (!cfs_capable(CAP_SYS_ADMIN))
RETURN(err = -EACCES);
if ((cmd & 0xffffff00) == ((int)'T') << 8) /* ignore all tty ioctls */