Whamcloud - gitweb
LU-1346 libcfs: replace CFS_CAP_XXX with kernel definition 81/4781/6
authorJames Simmons <uja.ornl@gmail.com>
Fri, 13 Sep 2013 13:44:00 +0000 (09:44 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 27 Sep 2013 07:13:50 +0000 (07:13 +0000)
commitb22fb817507ff52c02de38435fe90d758e852105
tree50553cb967dc75c0857c4e6e9a32004c023bbba1
parent34c1700d3acc0daefe056fe7472c51687df68c1b
LU-1346 libcfs: replace CFS_CAP_XXX with kernel definition

Replace CFS_CAP_XXX with kernel standard CAP_XXX flags.
Keep cfs_cap_xxx(raise/lower/raised) wrappers.

Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I656c41b94e73bf8d03698a8709be999038a50b35
Reviewed-on: http://review.whamcloud.com/4781
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
28 files changed:
contrib/scripts/libcfs_cleanup.sed
libcfs/include/libcfs/curproc.h
libcfs/include/libcfs/darwin/kp30.h
libcfs/include/libcfs/posix/libcfs.h
libcfs/include/libcfs/winnt/kp30.h
libcfs/libcfs/darwin/darwin-curproc.c
libcfs/libcfs/linux/linux-module.c
libcfs/libcfs/lwt.c
libcfs/libcfs/winnt/winnt-module.c
lustre/include/lustre_sec.h
lustre/liblustre/super.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/llite/xattr.c
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_object.c
lustre/mdd/mdd_permission.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/obdclass/linux/linux-module.c
lustre/obdclass/llog.c
lustre/obdclass/llog_obd.c
lustre/obdclass/obdo.c
lustre/obdecho/echo_client.c
lustre/osc/osc_cache.c
lustre/osc/osc_io.c
lustre/osc/osc_page.c