mirror of
https://github.com/ceph/ceph
synced 2025-03-31 07:53:23 +00:00
mds: fix dir projection on truncate
This commit is contained in:
parent
ad6ed67a17
commit
f824c125fb
@ -4226,6 +4226,8 @@ public:
|
||||
in->inode.mtime = ctime;
|
||||
in->pop_and_dirty_projected_inode(mdr->ls);
|
||||
|
||||
mdr->apply();
|
||||
|
||||
// notify any clients
|
||||
mds->locker->issue_truncate(in);
|
||||
|
||||
@ -4435,6 +4437,8 @@ public:
|
||||
in->inode.mtime = ctime;
|
||||
in->pop_and_dirty_projected_inode(mdr->ls);
|
||||
|
||||
mdr->apply();
|
||||
|
||||
// notify any clients
|
||||
mds->locker->issue_truncate(in);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user