Whamcloud - gitweb
LU-2675 libcfs: remove unused open flag conversions 42/10742/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 18 Jun 2014 06:49:42 +0000 (00:49 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 23 Jun 2014 00:05:01 +0000 (00:05 +0000)
Remove the unused cfs_oflag2univ() and cfs_univ2oflag() conversion
routines.  These were intended to convert O_* open flags to and from
platform-specific flags at the user interface, but are not used
anywhere in the code.  The conversion of the client-specific open
flags to the Lustre protocol flags is done in mds_pack_open_flags()
and there is no need to ever convert back to client-specific flags.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I1f5f7fb7eefa2f8dff161f02b37bee6a9d500c1e
Reviewed-on: http://review.whamcloud.com/10742
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found