Whamcloud - gitweb
LU-1337 llite: 3.3 changes super_operations/inode_operations
authorLiu Xuezhao <xuezhao.liu@emc.com>
Wed, 31 Oct 2012 07:43:54 +0000 (15:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 Dec 2012 13:56:24 +0000 (08:56 -0500)
commit8fe3dba83f51aaa7ef76f117915d40811bfb4300
treeb118404b0278945e3470effcfce697edc140834c
parent9fb46705ae86aa2c0ac29427f0ff24f923560eb7
LU-1337 llite: 3.3 changes super_operations/inode_operations

1. Kernel 3.3 switchs super_operations to use dentry as parameter
   (kernel commit 34c80b1d93e6e20ca9dea0baf583a5b5510d92d4).
   Add LC_SUPEROPS_USE_DENTRY/HAVE_SUPEROPS_USE_DENTRY to check it.
2. Kernel 3.3 switchs inode_operations to use umode_t as parameter
   (kernel commit 1a67aafb5f72a436ca044293309fa7e6351d6a35).
   Add LC_INODEOPS_USE_UMODE_T/HAVE_INODEOPS_USE_UMODE_T to check it.

Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
Change-Id: I7564506cf4365c8da113a81058f68b9ef8b092a4
Reviewed-on: http://review.whamcloud.com/3581
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/include/linux/lustre_compat25.h
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/namei.c