commit | e45198a6ac24bd2c4ad4a43b670c2f1a23dd2df3 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 10 06:48:09 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 14 16:33:45 2012 +0400 |
tree | d44f4217a8a556ac9ebb11cfc41c0e148fb1084c | |
parent | 2675a4eb6a9f1240098721c8a84ede28abd9d7b3 [diff] [blame] |
make finish_no_open() return int namely, 1 ;-) That's what we want to return from ->atomic_open() instances after finish_no_open(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index dafc86c..f167c7a 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c
@@ -1505,8 +1505,7 @@ if (IS_ERR(res)) goto out; - finish_no_open(file, res); - return 1; + return finish_no_open(file, res); } static int nfs4_lookup_revalidate(struct dentry *dentry, struct nameidata *nd)