Unverified Commit 24a02e0a authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 2b2ef2a2 570972b4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1143,6 +1143,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;