X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fsmfs%2Fdir.c;h=1420009c4e2692692557bf95f062df9306084403;hb=da0626bc7fe73bd8490009289935581e389470b8;hp=7fc58f36c72e75d0bd55fbe63102c0ae3d2cd9bf;hpb=20ab4dd1c409e40990dae2a76d255bde64d5d1a8;p=fs%2Flustre-release.git diff --git a/lustre/smfs/dir.c b/lustre/smfs/dir.c index 7fc58f3..1420009 100644 --- a/lustre/smfs/dir.c +++ b/lustre/smfs/dir.c @@ -150,6 +150,8 @@ static struct dentry *smfs_lookup(struct inode *dir, struct dentry *dentry, if (!cache_dir && cache_dir->i_op->lookup) GOTO(exit, rc = ERR_PTR(-ENOENT)); + SMFS_PRE_COW(dir, dentry, NULL, NULL, SNAP_LOOKUP, "lookup", rc, exit); + /* perform lookup in backing fs. */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) rc = cache_dir->i_op->lookup(cache_dir, cache_dentry);