]> 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>
Tue, 23 May 2023 05:00:47 +0000 (10:30 +0530)
commit3ba90ae223caf03223d6b9a22f61e8612d759da7
tree4b87ba6431574c92fede507879c94bcb528a8d25
parent7d929e295559881e229ad3717a10a31a57b54aa2
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