From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/gfs2/convert gfs2_convert.c
Date: 11 Aug 2006 23:22:09 -0000 [thread overview]
Message-ID: <20060811232209.7722.qmail@sourceware.org> (raw)
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/convert/gfs2_convert.c.diff?cvsroot=cluster&r1=1.5&r2=1.6
--- cluster/gfs2/convert/gfs2_convert.c 2006/07/17 22:06:18 1.5
+++ cluster/gfs2/convert/gfs2_convert.c 2006/08/11 23:22:09 1.6
@@ -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");
next reply other threads:[~2006-08-11 23:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-11 23:22 rpeterso [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-15 20:16 [Cluster-devel] cluster/gfs2/convert gfs2_convert.c rpeterso
2006-11-08 21:15 rpeterso
2006-11-08 21:14 rpeterso
2006-08-14 2:03 rpeterso
2006-07-17 22:06 rpeterso
2006-06-19 20:46 rpeterso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060811232209.7722.qmail@sourceware.org \
--to=rpeterso@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.