X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fsanity.sh;h=eebfe7344eefca647603e930c5c221c9fc7ff642;hb=f430ec079bf882744729d7aabc2021dfd26aba0c;hp=cfe0193d516f338adfeaaabdb8e4ecf067150aab;hpb=564070343ac4ccf4f97843009e1c36f5130ac19c;p=fs%2Flustre-release.git diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index cfe0193..eebfe73 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -8821,8 +8821,7 @@ test_65n() { which getfattr > /dev/null 2>&1 || skip_env "no getfattr command" which setfattr > /dev/null 2>&1 || skip_env "no setfattr command" - local root_layout=$(save_layout $MOUNT) - stack_trap "restore_layout $MOUNT $root_layout" EXIT + save_layout_restore_at_exit $MOUNT # new subdirectory under root directory should not inherit # the default layout from root