]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: don't journal src when not auth on rename
If we aren't auth for the srcdn, don't put it in the journal, or else we'll
barf on journal replay.
This fixes a crash reproduced with
sudo mkdir mnt/foo
sudo touch mnt/foo/a
sudo ln mnt/foo/a mnt/foo/b
sudo rm mnt/foo/a
sudo mkdir mnt/bar
sudo touch mnt/bar/nothing
./ceph mds tell 0 export_dir /bar 1
sudo mv mnt/foo/b mnt/bar/b
+ mds restart.
Signed-off-by: Sage Weil <sage@newdream.net>