]> 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 04:35:34 +0000 (10:05 +0530)
commitf95a1ac167f0184fa77ad1e0a16f1ff1050b8597
treecea0e16937abdb881c4f6a22a7cb147f3ab5878c
parent2ffb048ad07fc7501f93fc1ff4a3d9b67288cd42
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