Merge PR #28545 into master

* refs/pull/28545/head:
	client: set snapdir's link count to 1

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
Patrick Donnelly 2019-06-18 18:28:51 -07:00
commit 9dc3cbd53d
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -10586,6 +10586,7 @@ Inode *Client::open_snapdir(Inode *diri)
in->mode = diri->mode;
in->uid = diri->uid;
in->gid = diri->gid;
in->nlink = 1;
in->mtime = diri->mtime;
in->ctime = diri->ctime;
in->btime = diri->btime;