mirror of
https://github.com/ceph/ceph
synced 2025-01-02 17:12:31 +00:00
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:
commit
9dc3cbd53d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user