From b53cd4d76cc56fa54d4acb95e83876db603115f1 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 9 Dec 2014 13:41:28 -0800 Subject: [PATCH] libnfs.c: remove function nfs_get_current_offset Remove this function (that no one uses) since this is what lseek(SEEK_CUR, 0) does. Signed-off-by: Ronnie Sahlberg --- include/nfsc/libnfs.h | 7 ------- lib/libnfs.c | 7 ------- 2 files changed, 14 deletions(-) diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h index 300967e7..dd71c192 100644 --- a/include/nfsc/libnfs.h +++ b/include/nfsc/libnfs.h @@ -1413,13 +1413,6 @@ EXTERN struct exportnode *mount_getexports(const char *server); EXTERN void mount_free_export_list(struct exportnode *exports); -//qqq replace later with lseek(cur, 0) -uint64_t nfs_get_current_offset(struct nfsfh *nfsfh); - - - - - struct nfs_server_list { struct nfs_server_list *next; char *addr; diff --git a/lib/libnfs.c b/lib/libnfs.c index 8a81a949..da5ff64e 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -4930,13 +4930,6 @@ int nfs_link_async(struct nfs_context *nfs, const char *oldpath, const char *new } -//qqq replace later with lseek() -uint64_t nfs_get_current_offset(struct nfsfh *nfsfh) -{ - return nfsfh->offset; -} - - /* * Get the maximum supported READ3 size by the server