]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: set snapdir's link count to 1 30108/head
authorYan, Zheng <zyan@redhat.com>
Fri, 14 Jun 2019 04:01:31 +0000 (12:01 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 3 Sep 2019 14:45:11 +0000 (16:45 +0200)
commitaef21e317d9d56ca6f6080b8deb21c3fb5241f58
tree83315c9b7c05ffa99e83ebc96a42c9347b24b581
parent692a678a00919bcce61c0ee46a3adbdeee8265e9
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