]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: allow unlink operation under lost+found directory
authorVenky Shankar <vshankar@redhat.com>
Wed, 19 Apr 2023 07:09:04 +0000 (03:09 -0400)
committerVenky Shankar <vshankar@redhat.com>
Thu, 13 Jul 2023 05:57:56 +0000 (11:27 +0530)
commitf4bc12246b758d7d955fb9403a84612f88d6f545
tree20afd5a486216f7535d723e6206b64519edf608f
parent056e03b739c6b969fb45c37f13b548163efd917e
mds: allow unlink operation under lost+found directory

Deleting entries in lost+found directory is suggested once users
are done with those entries (possibly, by copying them), however,
unlinking is disallowed by the gating the operation via -EROFS.

Remove this constraint.

Fixes: http://tracker.ceph.com/issues/59569
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 241b9396dbc6d506cef297bdb89ab07fe3a7ce02)
src/mds/CInode.h
src/mds/Server.cc