Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tmpfs_mount() uses tmpfs_unmount() for cleanup if set_statvfs_info() …
…fails. This will not work as tmpfs_unmount() needs a suspended file system. Just call set_statvfs_info() before allocating the root vnode and add and use a common error exit label. Reported-by: syzbot+343f2bfea65a32ab4222@syzkaller.appspotmail.com
- Loading branch information
hannken
authored and
hannken
committed
Nov 10, 2022
1 parent
0e38b8a
commit aac0938
Showing
1 changed file
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters