diff options
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/file-get-source.c | 2 | ||||
-rw-r--r-- | libnetfs/get-source.c | 2 | ||||
-rw-r--r-- | libnetfs/netfs.h | 9 |
3 files changed, 6 insertions, 7 deletions
diff --git a/libnetfs/file-get-source.c b/libnetfs/file-get-source.c index 7fa1b4f6..acd32306 100644 --- a/libnetfs/file-get-source.c +++ b/libnetfs/file-get-source.c @@ -31,5 +31,5 @@ netfs_S_file_get_source (struct protid *cred, if (! cred) return EOPNOTSUPP; - return netfs_get_source (cred, source, 1024 /* XXX */); + return netfs_get_source (source, 1024 /* XXX */); } diff --git a/libnetfs/get-source.c b/libnetfs/get-source.c index 5a234bce..cf237444 100644 --- a/libnetfs/get-source.c +++ b/libnetfs/get-source.c @@ -22,7 +22,7 @@ #include "priv.h" error_t __attribute__ ((weak)) -netfs_get_source (struct protid *cred, char *source, size_t source_len) +netfs_get_source (char *source, size_t source_len) { return EOPNOTSUPP; } diff --git a/libnetfs/netfs.h b/libnetfs/netfs.h index afd4a060..5b5ca93b 100644 --- a/libnetfs/netfs.h +++ b/libnetfs/netfs.h @@ -320,11 +320,10 @@ error_t netfs_file_get_storage_info (struct iouser *cred, mach_msg_type_number_t *data_len); /* The user may define this function. The function must set source to - the source of CRED. The function may return an EOPNOTSUPP to - indicate that the concept of a source device is not applicable. The - default function always returns EOPNOTSUPP. */ -error_t netfs_get_source (struct protid *cred, - char *source, size_t source_len); + the source of the translator. The function may return an EOPNOTSUPP + to indicate that the concept of a source device is not + applicable. The default function always returns EOPNOTSUPP. */ +error_t netfs_get_source (char *source, size_t source_len); /* Option parsing */ |