Whamcloud - gitweb
Revert "LU-4659 mdd: rename forgets updating target linkea"
[fs/lustre-release.git] / lustre / tests / sanity.sh
index 21ca69b..5efd974 100644 (file)
@@ -12190,23 +12190,6 @@ test_237() {
 }
 run_test 237 "Verify name_to_handle_at/open_by_handle_at syscalls"
 
-# LU-4659 linkea consistency
-test_238() {
-       touch $DIR/$tfile
-       ln $DIR/$tfile $DIR/$tfile.lnk
-       touch $DIR/$tfile.new
-       mv $DIR/$tfile.new $DIR/$tfile
-       local fid1=$(lfs path2fid $DIR/$tfile)
-       local fid2=$(lfs path2fid $DIR/$tfile.lnk)
-       local path1=$(lfs fid2path $FSNAME $fid1)
-       [ $tfile == $path1 ] || error "linkea inconsistent: $tfile $fid1 $path1"
-       local path2=$(lfs fid2path $FSNAME $fid2)
-       [ $tfile.lnk == $path2 ] ||
-               error "linkea inconsistent: $tfile.lnk $fid2 $path2!"
-       rm -f $DIR/$tfile*
-}
-run_test 238 "Verify linkea consistency"
-
 test_striped_dir() {
        local mdt_index=$1
        local stripe_count