diff --git a/fs/hmdfs/inode_local.c b/fs/hmdfs/inode_local.c index 94ff9793d092c5e2ea1f946ebbc2f090d2b7d60c..01e214436d84935b7a701c65b3342c862656d481 100644 --- a/fs/hmdfs/inode_local.c +++ b/fs/hmdfs/inode_local.c @@ -601,9 +601,9 @@ int hmdfs_unlink_local_dentry(struct inode *dir, struct dentry *dentry) hmdfs_drop_remote_cache_dents(dentry->d_parent); d_drop(dentry); - hmdfs_put_lower_path(&lower_path); path_err: + hmdfs_put_lower_path(&lower_path); if (error) hmdfs_clear_drop_flag(dentry->d_parent); return error;