From 441390facfd7a9a7eb5024a5c8a7045860e8113e Mon Sep 17 00:00:00 2001 From: yangsheng Date: Tue, 11 Nov 2008 07:44:12 +0000 Subject: [PATCH] Branch b1_8_gate b=17153 i=adilger, robert.read Remove 2.4 check. Author: tappro CVSooi= --- lustre/mds/mds_reint.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index 07b59ab..73803d4 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -2582,12 +2582,10 @@ no_unlink: OBD_FAIL_WRITE(obd, OBD_FAIL_MDS_REINT_RENAME_WRITE, de_srcdir->d_inode->i_sb); -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) /* Check if we are moving old entry into its child. 2.6 does not check for this in vfs_rename() anymore */ if (is_subdir(de_new, de_old)) GOTO(cleanup, rc = -EINVAL); -#endif lmm = lustre_msg_buf(req->rq_repmsg, offset + 1, 0); handle = fsfilt_start_log(obd, de_tgtdir->d_inode, FSFILT_OP_RENAME, -- 1.8.3.1