Whamcloud - gitweb
LU-9735 compat: heed the fs_struct::seq 07/28907/7
authorBobi Jam <bobijam.xu@intel.com>
Fri, 8 Sep 2017 13:56:03 +0000 (21:56 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 31 Jan 2018 05:51:45 +0000 (05:51 +0000)
commitfff1163fdb41190b59adb8d90919e0adf37f68fb
tree925d804f32ac8e409d277b79fc5c6b61ef0581ca
parent79bfc74869e3f7b052874f4585399c5ba7f599e9
LU-9735 compat: heed the fs_struct::seq

2.6.37 kernel uses a seqlock in the fs_struct to enable us to take
an atomic copy of the complete cwd and root paths.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I35384b8f5c468a8c142a59032f3148b698a0c79e
Reviewed-on: https://review.whamcloud.com/28907
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h