Unverified Commit 1eb88c5d authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents c5883d55 02f8a9ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1128,6 +1128,7 @@ __releases(&files->file_lock)
	 * tables and this condition does not arise without those.
	 */
	fdt = files_fdtable(files);
	fd = array_index_nospec(fd, fdt->max_fds);
	tofree = fdt->fd[fd];
	if (!tofree && fd_is_open(fd, fdt)) {
		err = -EBUSY;