repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename the nfs_open() argument from mode to flags
[deb_libnfs.git]
/
lib
/
libnfs.c
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index 303615a247dbbbb67de010377fb4adee4803e6a0..bfb1b7ce70bba59dd312c0bd7bdd79935886b820 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-1346,9
+1346,9
@@
static int nfs_open_continue_internal(struct nfs_context *nfs, struct nfs_cb_dat
return 0;
}
return 0;
}
-int nfs_open_async(struct nfs_context *nfs, const char *path, int
mode
, nfs_cb cb, void *private_data)
+int nfs_open_async(struct nfs_context *nfs, const char *path, int
flags
, nfs_cb cb, void *private_data)
{
{
- if (nfs_lookuppath_async(nfs, path, cb, private_data, nfs_open_continue_internal, NULL, NULL,
mode
) != 0) {
+ if (nfs_lookuppath_async(nfs, path, cb, private_data, nfs_open_continue_internal, NULL, NULL,
flags
) != 0) {
rpc_set_error(nfs->rpc, "Out of memory: failed to start parsing the path components");
return -1;
}
rpc_set_error(nfs->rpc, "Out of memory: failed to start parsing the path components");
return -1;
}