struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) { int err = ovl_do_lookup(dentry); if (err) return ERR_PTR(err); return NULL; }
struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) { int err = ovl_do_lookup(dentry); if (err) return ERR_PTR(err); return NULL; }