]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Jeff Mahoney <jeffm@suse.com> |
2 | Subject: Export release_open_intent for NFS branches with aufs | |
3 | ||
4 | aufs requires a way to release an open intent when handling an error | |
5 | condition after using NFSv4's atomic open. It was using put_filp, | |
6 | but release_open_intent is more appropriate. | |
7 | ||
8 | Signed-off-by: Jeff Mahoney <jeffm@suse.com> | |
9 | --- | |
10 | fs/namei.c | 1 + | |
11 | 1 file changed, 1 insertion(+) | |
12 | ||
13 | --- a/fs/namei.c | |
14 | +++ b/fs/namei.c | |
15 | @@ -392,6 +392,7 @@ void release_open_intent(struct nameidat | |
16 | else | |
17 | fput(nd->intent.open.file); | |
18 | } | |
19 | +EXPORT_SYMBOL_GPL(release_open_intent); | |
20 | ||
21 | static inline struct dentry * | |
22 | do_revalidate(struct dentry *dentry, struct nameidata *nd) |