Whamcloud - gitweb
LU-709 build: clean up percpu_counter and sb.s_time_gran
authorPeng Tao <tao.peng@emc.com>
Tue, 15 May 2012 05:55:03 +0000 (13:55 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jul 2012 04:15:12 +0000 (00:15 -0400)
commit0a9c652a6a8a24504278715cc17f783b20b225c2
tree0a91e3415555b21c5e8d037dde962b62a3492cc2
parent9c71dacaf0b16c10952b4d788016e70b667cd77b
LU-709 build: clean up percpu_counter and sb.s_time_gran

1. linux/percpu_counter.h exists since v2.6.12,
   percpu_counter_init() takes two arguments since v2.6.17,
   and percpu_counter is not used in lustre
2. superblock.s_time_gran exists since v2.6.12
3. get_sb_time_gran() doesn't exist since v2.6.12

Signed-off-by: Peng Tao <tao.peng@emc.com>
Change-Id: Id80b0bfc702f509218fcf29d01334894d122b9c8
Reviewed-on: http://review.whamcloud.com/2317
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/linux/lustre_compat25.h
lustre/osd-ldiskfs/osd_handler.c