scst_lib: Rename obsolete goto label

The use of set_fs() for scst_write_file_transactional() was dropped in
94018a42 ("scst: Use kernel_{read,write}() instead of scst_{read,write}()").
Hence rename the goto label associated with this functionality.
This commit is contained in:
Gleb Chesnokov
2022-03-28 13:15:59 +03:00
parent e53e0882f9
commit 7b2cd36110

View File

@@ -15064,7 +15064,7 @@ int scst_write_file_transactional(const char *name, const char *name1,
res = PTR_ERR(file);
PRINT_ERROR("Unable to (re)create file '%s' - error %d",
name, res);
goto out_set_fs;
goto out_remove_file;
}
TRACE_DBG("Writing file '%s'", name);
@@ -15100,7 +15100,7 @@ int scst_write_file_transactional(const char *name, const char *name1,
filp_close(file, NULL);
out_set_fs:
out_remove_file:
if (res == 0)
scst_remove_file(name1);
else
@@ -15117,7 +15117,7 @@ write_error_close:
filp_close(file, NULL);
if (res > 0)
res = -EIO;
goto out_set_fs;
goto out_remove_file;
}
EXPORT_SYMBOL_GPL(scst_write_file_transactional);