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

rpeterso at sourceware.org rpeterso at sourceware.org
Mon Sep 24 23:16:35 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso at sourceware.org	2007-09-24 23:16:34

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&r1=1.11&r2=1.12

--- cluster/gfs2/libgfs2/fs_ops.c	2007/09/17 17:08:20	1.11
+++ cluster/gfs2/libgfs2/fs_ops.c	2007/09/24 23:16:34	1.12
@@ -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