mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
xtensa: fix incorrect fd close in error case of simdisk_setup()
dev->fd is opened in attach operation, so should not close dev->fd in error case of simdisk_setup(). Signed-off-by: Chengguang Xu <cgxu519@gmail.com> Message-Id: <1557066367-4783-1-git-send-email-cgxu519@gmail.com> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
e93c9c99a6
commit
fb1b79d88b
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue