Skip to contentSkip to conversation

cluster/gfs/libgfs libgfs.h super.c

Cluster-devel [email protected] 1 participant 1 message Jul 14, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-07-14 19:25:08

Modified files:
gfs/libgfs : libgfs.h super.c

Log message:
Split read_sb into read_sb and compute_constants like libgfs2. That enables programs that do not read the superblock (like mkfs) to get the constants they need.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/libgfs/libgfs.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs/libgfs/super.c.diff?cvsroot=cluster&r1=1.1&r2=1.2

gfs/libgfs/libgfs.h +1 -0
@@ -386,6 +386,7 @@
 int write_sb(int disk_fd, struct gfs_sbd *sdp);
 int set_block_ranges(int disk_fd, struct gfs_sbd *sdp);
 int read_super_block(int disk_fd, struct gfs_sbd *sdp);
+int compute_constants(struct gfs_sbd *sdp);
 
 /* ------------------------------------------------------------------------- */
 /* formerly rgrp.h:                                                          */
gfs/libgfs/super.c +41 -30

101 lines not on this page · raw message