Whamcloud - gitweb
LU-506 kernel: 2.6.38 kernel macro check cleanup
authorLai Siyao <laisiyao@whamcloud.com>
Thu, 21 Jun 2012 07:40:50 +0000 (15:40 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 26 Jun 2012 15:33:05 +0000 (11:33 -0400)
commit12b6c0b993bca79091d035cbe4cf1805d8adcc47
tree453eb2f85cc0c3e154d171e9ff3ef72fdbb098f0
parentf30581aa19447ea58f0120488acaa57bcd55144d
LU-506 kernel: 2.6.38 kernel macro check cleanup

* HAVE_DCACHE_LOCK is used to mark kernel >= 2.6.38, instead of other
kernel macros, this makes it easier to maintain kernel support in
the future.
* minor cleanups.

Signed-off-by: Lai Siyao <laisiyao@whamcloud.com>
Change-Id: Ic9a6a8c339a10b34e2b1b06b47fd9e252cd3ec2c
Reviewed-on: http://review.whamcloud.com/3159
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
lnet/lnet/lib-msg.c
lustre/llite/dcache.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/osc/osc_io.c