Whamcloud - gitweb
LU-10350 lod: adjust stripe count to available ost count
[fs/lustre-release.git] / lustre / tests / sanity.sh
index cfe0193..eebfe73 100755 (executable)
@@ -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