Commit af4044fd authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

gfs2: gfs2_create_inode error handling fix



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>
parent 4023c3cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment