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

Commit 281c1b30 authored by David Howells's avatar David Howells Committed by Greg Kroah-Hartman
Browse files

afs: Fix creation calls in the dynamic root to fail with EOPNOTSUPP



[ Upstream commit 1da4bd9f9d187f53618890d7b66b9628bbec3c70 ]

Fix the lookup method on the dynamic root directory such that creation
calls, such as mkdir, open(O_CREAT), symlink, etc. fail with EOPNOTSUPP
rather than failing with some odd error (such as EEXIST).

lookup() itself tries to create automount directories when it is invoked.
These are cached locally in RAM and not committed to storage.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Reviewed-by: default avatarMarc Dionne <marc.dionne@auristor.com>
Tested-by: default avatarJonathan Billings <jsbillings@jsbillings.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b280f0ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment