]> git.apps.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>
Sat, 6 May 2023 15:03:08 +0000 (11:03 -0400)
commit241b9396dbc6d506cef297bdb89ab07fe3a7ce02
tree77b519202231a1ddbf09283c48efb26d8ce88ef0
parentb7747a40e3bef4d67394a59652da7bf531034f5c
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>
src/mds/CInode.h
src/mds/Server.cc