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
/
mdt
/
mdt_internal.h
diff --git
a/lustre/mdt/mdt_internal.h
b/lustre/mdt/mdt_internal.h
index
15ad740
..
98cbfee
100644
(file)
--- a/
lustre/mdt/mdt_internal.h
+++ b/
lustre/mdt/mdt_internal.h
@@
-1414,7
+1414,7
@@
static inline bool mdt_is_rootadmin(struct mdt_thread_info *info)
uc = mdt_ucred(info);
is_admin = (uc->uc_uid == 0 && uc->uc_gid == 0 &&
- md_capable(uc, C
FS_C
AP_SYS_ADMIN));
+ md_capable(uc, CAP_SYS_ADMIN));
mdt_exit_ucred(info);