[Cluster-devel] cluster/gfs2/libgfs2 libgfs2.h super.c
rpeterso at sourceware.org
rpeterso at sourceware.org
Mon Jun 19 20:45:18 UTC 2006
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-06-19 20:45:15
Modified files:
gfs2/libgfs2 : libgfs2.h super.c
Log message:
Changes to lock protocol were not saved. Also removed some vestigial
stubs from libgfs2.h.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/libgfs2.h.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/super.c.diff?cvsroot=cluster&r1=1.2&r2=1.3
--- cluster/gfs2/libgfs2/libgfs2.h 2006/06/14 13:55:11 1.5
+++ cluster/gfs2/libgfs2/libgfs2.h 2006/06/19 20:45:15 1.6
@@ -427,19 +427,6 @@
int device_size(int fd, uint64_t *bytes);
-/* live.c */
-void check_for_gfs2(struct gfs2_sbd *sdp);
-void lock_for_admin(struct gfs2_sbd *sdp);
-void path2device(struct gfs2_sbd *sdp);
-void find_block_size(struct gfs2_sbd *sdp);
-void find_current_fssize(struct gfs2_sbd *sdp);
-void add_to_rindex(struct gfs2_sbd *sdp);
-void statfs_sync(struct gfs2_sbd *sdp);
-void find_current_journals(struct gfs2_sbd *sdp);
-int rename2system(struct gfs2_sbd *sdp, char *new_dir, char *new_name);
-void make_jdata(int fd, char *value);
-uint64_t bmap(int fd, uint64_t lblock);
-
/* locking.c */
void test_locking(char *lockproto, char *locktable);
--- cluster/gfs2/libgfs2/super.c 2006/06/15 18:45:22 1.2
+++ cluster/gfs2/libgfs2/super.c 2006/06/19 20:45:15 1.3
@@ -246,6 +246,7 @@
bh = bread(sbp, GFS2_SB_ADDR >> sbp->sd_fsb2bb_shift);
gfs2_sb_out(&sbp->sd_sb, bh->b_data);
brelse(bh, updated);
+ bcommit(sbp); /* make sure the change gets to disk ASAP */
return 0;
}
More information about the Cluster-devel
mailing list