From: Jeff Mahoney Subject: Export release_open_intent for NFS branches with aufs Patch-mainline: never aufs requires a way to release an open intent when handling an error condition after using NFSv4's atomic open. It was using put_filp, but release_open_intent is more appropriate. Signed-off-by: Jeff Mahoney --- fs/namei.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/namei.c +++ b/fs/namei.c @@ -386,6 +386,7 @@ void release_open_intent(struct nameidat else fput(nd->intent.open.file); } +EXPORT_SYMBOL_GPL(release_open_intent); static inline struct dentry * do_revalidate(struct dentry *dentry, struct nameidata *nd)