Whamcloud - gitweb
LU-10483 lustre: replace FMODE_{READ,WRITE} with MDS_* equivs 24/30824/10
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 10 Jan 2018 14:37:24 +0000 (23:37 +0900)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Mar 2018 17:36:09 +0000 (17:36 +0000)
commit5185ba6381ac459ad60e11952dc55c17e3167c5e
treea5161693f9376ed618d5ba583dc199ad535336b4
parent423bdae48e1a0ed602f524ba41a2c83c67f4716a
LU-10483 lustre: replace FMODE_{READ,WRITE} with MDS_* equivs

In file lustre/include/uapi/linux/lustre/lustre_user.h, replace direct
use of FMODE_READ and FMODE_WRITE with MDS_* equivalents.
That will avoid name clashes with the kernel symbols, and avoid
problems if their values ever change.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I07e77d8d025c5ddb3dc4e085738645e20fb77d0c
Reviewed-on: https://review.whamcloud.com/30824
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_mds.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_locks.c
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_open.c
lustre/obdclass/genops.c
lustre/obdecho/echo_client.c
lustre/utils/lfs.c
lustre/utils/llog_reader.c