mds: fix dir projection on truncate

This commit is contained in:
Sage Weil 2008-06-18 11:43:31 -07:00
parent ad6ed67a17
commit f824c125fb

View File

@ -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);