mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
slightly simplify nfs_atomic_open()
Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
d71cbf0d3b
commit
2944ebee9a
|
|
@ -2198,8 +2198,6 @@ int nfs_atomic_open(struct inode *dir, struct dentry *dentry,
|
|||
else
|
||||
dput(dentry);
|
||||
}
|
||||
if (IS_ERR(res))
|
||||
return PTR_ERR(res);
|
||||
return finish_no_open(file, res);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(nfs_atomic_open);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user