Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c96f5857 authored by Al Viro's avatar Al Viro
Browse files

Fix a leak in failure exit in 9p ->get_sb()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6f5bbff9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -156,6 +156,7 @@ static int v9fs_get_sb(struct file_system_type *fs_type, int flags,

	root = d_alloc_root(inode);
	if (!root) {
		iput(inode);
		retval = -ENOMEM;
		goto release_sb;
	}