diff options
author | David Howells <dhowells@redhat.com> | 2006-08-22 20:06:09 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-22 23:24:32 -0400 |
commit | b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a (patch) | |
tree | 214c0aec3cee41cf872e0c4940fa778f6c0f94e9 /include/linux/nfs_idmap.h | |
parent | 7539bbab8062aadc1db95a22b377146843cfa88f (diff) | |
download | linux-stable-b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a.tar.gz linux-stable-b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a.tar.bz2 linux-stable-b7162792b5c0e0f6e91b8997f8e6bbc76ec5420a.zip |
NFS: Return an error when starting the idmapping pipe
Return an error when starting the idmapping pipe so that we can detect it
failing.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_idmap.h')
-rw-r--r-- | include/linux/nfs_idmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_idmap.h b/include/linux/nfs_idmap.h index 678fe68982ef..15a9f3b7289a 100644 --- a/include/linux/nfs_idmap.h +++ b/include/linux/nfs_idmap.h @@ -64,7 +64,7 @@ struct idmap_msg { /* Forward declaration to make this header independent of others */ struct nfs_client; -void nfs_idmap_new(struct nfs_client *); +int nfs_idmap_new(struct nfs_client *); void nfs_idmap_delete(struct nfs_client *); int nfs_map_name_to_uid(struct nfs_client *, const char *, size_t, __u32 *); |