cluster/gfs2/convert gfs2_convert.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2006-08-11 23:22:09
Modified files:
gfs2/convert : gfs2_convert.c
Log message:
Reset other inode bits when temporarily setting S_IFDIR bit.
gfs2/convert/gfs2_convert.c +1 -0
@@ -787,6 +787,7 @@/* apparently only for directories. So we need to fake out libgfs2 */ /* so that it adjusts for the metaheader by faking out the inode to */ /* look like a directory, temporarily. */ + sbp->md.riinode->i_di.di_mode &= ~S_IFMT ; sbp->md.riinode->i_di.di_mode |=S_IFDIR ;if (ri_update (sbp, &rgcount)){log_crit ("Unable to fill in resource group information.\n" );