]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
ubik: remove unused ContactQuorum_DISK_Write
authorMark Vitale <mvitale@sinenomine.net>
Wed, 9 May 2018 20:50:55 +0000 (16:50 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Mon, 17 Dec 2018 10:09:05 +0000 (05:09 -0500)
This function is not used; remove it.

No functional change is incurred by this commit.

Reviewed-on: https://gerrit.openafs.org/13077
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 8b1e730c11a6ed7dc067ef185302bd57a69f6d1e)

Change-Id: I548e2442684a26ab017afebb1c42bdef9bd7c7bf
Reviewed-on: https://gerrit.openafs.org/13187
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Joe Gorse <jhgorse@gmail.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/ubik/ubik.c
src/ubik/ubik.p.h

index fb764c5c644f621700f853b4f84ba0da2dc464e7..2345fa31f17449c735d539bd3e0892634a7a09a9 100644 (file)
@@ -260,26 +260,6 @@ ContactQuorum_DISK_Lock(struct ubik_trans *atrans, int aflags,afs_int32 file,
     return ContactQuorum_rcode(okcalls, rcode);
 }
 
-
-afs_int32
-ContactQuorum_DISK_Write(struct ubik_trans *atrans, int aflags,
-                        afs_int32 file, afs_int32 position, bulkdata *data)
-{
-    struct ubik_server *ts = NULL;
-    afs_int32 code = 0, rcode, okcalls;
-    struct rx_connection *conn;
-    int done;
-
-    done = ContactQuorum_iterate(atrans, aflags, &ts, &conn, &rcode, &okcalls, code);
-    while (!done) {
-       if (conn)
-           code = DISK_Write(conn, &atrans->tid, file, position, data);
-       done = ContactQuorum_iterate(atrans, aflags, &ts, &conn, &rcode, &okcalls, code);
-    }
-    return ContactQuorum_rcode(okcalls, rcode);
-}
-
-
 afs_int32
 ContactQuorum_DISK_Truncate(struct ubik_trans *atrans, int aflags,
                            afs_int32 file, afs_int32 length)
index a84ca586deaeb5aa9794e6dcb3e65e6a6e910de9..06f5321748e2451e32548888d94037e5dec20090 100644 (file)
@@ -473,11 +473,6 @@ extern afs_int32 ContactQuorum_DISK_Lock(struct ubik_trans *atrans,
                                         afs_int32 file, afs_int32 position,
                                         afs_int32 length, afs_int32 type);
 
-extern afs_int32 ContactQuorum_DISK_Write(struct ubik_trans *atrans,
-                                         int aflags,
-                                         afs_int32 file, afs_int32 position,
-                                         bulkdata *data);
-
 extern afs_int32 ContactQuorum_DISK_Truncate(struct ubik_trans *atrans,
                                             int aflags,
                                             afs_int32 file, afs_int32 length);