]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: set snapdir's link count to 1 29343/head
authorYan, Zheng <zyan@redhat.com>
Fri, 14 Jun 2019 04:01:31 +0000 (12:01 +0800)
committerPrashant D <pdhange@redhat.com>
Fri, 26 Jul 2019 01:58:31 +0000 (21:58 -0400)
commit0d3db9427c4ffeca388e853bfc09b77136cb70e5
tree20200daf2c357a37c315cc44fd5a24fb4b8b1784
parent85fa207048f84d9c6125070861de8ae3d02b3c7b
client: set snapdir's link count to 1

Otherwise nfs-ganesha treats snapdir as stale.

Fixes: https://tracker.ceph.com/issues/40101
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 7ad002307d7d34578478b1fee02be071d6b65250)
src/client/Client.cc