diff --git a/fs/hmdfs/inode_cloud_merge.c b/fs/hmdfs/inode_cloud_merge.c index c141727483fa124c5371038c08f6b25d4f4b7f8d..3f1919ef928dd0f529b5188035f03f61eb034187 100644 --- a/fs/hmdfs/inode_cloud_merge.c +++ b/fs/hmdfs/inode_cloud_merge.c @@ -449,6 +449,8 @@ int hmdfs_create_lower_cloud_dentry(struct inode *i_parent, struct dentry *d_chi link_comrade_unlocked(d_child, new_comrade); } + update_inode_attr(d_inode(d_child), d_child); + out_put: done_path_create(&path, lo_d_child); out: diff --git a/fs/hmdfs/inode_merge.c b/fs/hmdfs/inode_merge.c index 5b4b9c288ca7f69d8208695da9d5f4c38ea2410b..c8ea373de198fc812a66560f576c0771706044a6 100644 --- a/fs/hmdfs/inode_merge.c +++ b/fs/hmdfs/inode_merge.c @@ -976,6 +976,8 @@ int hmdfs_create_lower_dentry(struct inode *i_parent, struct dentry *d_child, link_comrade_unlocked(d_child, new_comrade); } + update_inode_attr(d_inode(d_child), d_child); + out_put: done_path_create(&path, lo_d_child); out: