diff options
Diffstat (limited to 'nfs')
-rw-r--r-- | nfs/main.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -270,15 +270,12 @@ netfs_append_args (char **argz, size_t *argz_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. */ + 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 (struct protid *cred, char *source, size_t source_len) +netfs_get_source (char *source, size_t source_len) { - if (! cred) - return EOPNOTSUPP; - snprintf (source, source_len, "%s:%s", host, remote_fs); return 0; } |