mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user