Newer kernel (3.1 and beyond) LOOKUP_CONTINUE flag is
replaced/same as LOOKUP_PARENT flag. Can safely
remove any definations of LOOKUP_CONTINUE
Linux-commit:
49084c3bb2055c401f3493c13edae14d49128ca0
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I05eac0ec1321d230c7a215f95888d4040b7c670a
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54169
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lnet_ni_status_t||struct lnet_ni_status
lnet_ping_info_t||struct lnet_ping_info
lnet_process_id_packed_t||struct lnet_process_id_packed
+LOOKUP_CONTINUE||LOOKUP_PARENT
HZ||cfs_time_seconds
LPD64||%lld
LPLD||%ld
* this dentry, then its lock has not been revoked and the
* path component is valid.
*/
- if (lookup_flags & (LOOKUP_CONTINUE | LOOKUP_PARENT)) {
+ if (lookup_flags & LOOKUP_PARENT) {
if (dentry->d_inode && S_ISDIR(dentry->d_inode->i_mode)) {
parent = dget_parent(dentry);
ll_update_dir_depth_dmv(d_inode(parent), dentry);
#define VM_FAULT_RETRY 0
#endif
-/* Kernel 3.1 kills LOOKUP_CONTINUE, LOOKUP_PARENT is equivalent to it.
- * seem kernel commit 49084c3bb2055c401f3493c13edae14d49128ca0
- */
-#ifndef LOOKUP_CONTINUE
-#define LOOKUP_CONTINUE LOOKUP_PARENT
-#endif
-
#ifdef HAVE_DENTRY_D_U_D_ALIAS
#define d_alias d_u.d_alias
#endif