From mboxrd@z Thu Jan 1 00:00:00 1970 From: rpeterso@sourceware.org Date: 24 Sep 2007 23:16:35 -0000 Subject: [Cluster-devel] cluster/gfs2/libgfs2 fs_ops.c Message-ID: <20070924231635.19802.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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");