Commit 15200ea0 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Greg Kroah-Hartman
Browse files

gfs2: gfs2_create_inode error handling fix



[ Upstream commit af4044fd ]

When gfs2_create_inode() finds a directory, make sure to return -EISDIR.

Fixes: 571a4b57 ("GFS2: bugger off early if O_CREAT open finds a directory")
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6572440f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment