From mboxrd@z Thu Jan 1 00:00:00 1970 From: rpeterso@sourceware.org Date: 24 Sep 2007 23:17:41 -0000 Subject: [Cluster-devel] cluster/gfs2/libgfs2 fs_ops.c Message-ID: <20070924231741.20414.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 Branch: RHEL5 Changes by: rpeterso at sourceware.org 2007-09-24 23:17:41 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=RHEL5&r1=1.4.2.7&r2=1.4.2.8 --- cluster/gfs2/libgfs2/fs_ops.c 2007/09/17 17:23:40 1.4.2.7 +++ cluster/gfs2/libgfs2/fs_ops.c 2007/09/24 23:17:41 1.4.2.8 @@ -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");