[Cluster-devel] cluster/gfs2/libgfs2 fs_ops.c

rpeterso at sourceware.org rpeterso at sourceware.org
Tue Sep 25 16:01:46 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL51
Changes by:	rpeterso at sourceware.org	2007-09-25 16:01:46

Modified files:
	gfs2/libgfs2   : fs_ops.c 

Log message:
	Resolves: bz 304001: GFS2: Filesystems with 1k block size won't mount

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/libgfs2/fs_ops.c.diff?cvsroot=cluster&only_with_tag=RHEL51&r1=1.4.2.6.2.1&r2=1.4.2.6.2.2

--- cluster/gfs2/libgfs2/fs_ops.c	2007/09/17 17:25:22	1.4.2.6.2.1
+++ cluster/gfs2/libgfs2/fs_ops.c	2007/09/25 16:01:45	1.4.2.6.2.2
@@ -585,7 +585,7 @@
 }
 
 struct gfs2_buffer_head *get_file_buf(struct gfs2_inode *ip, uint64_t lbn,
-									  int prealloc)
+				      int prealloc)
 {
 	struct gfs2_sbd *sdp = ip->i_sbd;
 	uint64_t dbn;
@@ -594,7 +594,7 @@
 	if (inode_is_stuffed(ip))
 		unstuff_dinode(ip);
 
-	block_map(ip, lbn, &new, &dbn, NULL, prealloc, not_updated);
+	block_map(ip, lbn, &new, &dbn, NULL, prealloc, updated);
 	if (!dbn)
 		die("get_file_buf\n");
 




More information about the Cluster-devel mailing list