From: Kevin Xu <cgxu.gg@gmail.com>
To: xfscn@googlegroups.com
Cc: xfs@oss.sgi.com
Subject: [PATCH]fix fbno in xfs_dir2_node_addname_int
Date: Sun, 23 Mar 2008 08:51:14 +0800 [thread overview]
Message-ID: <47E5A982.8010002@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 148 bytes --]
if we didn't find a freespace block for our new entry in the current
freeindex block,
return to the first freeindex block and continue to check.
[-- Attachment #2: usig-xfs-fix-080322.patch --]
[-- Type: text/x-patch, Size: 379 bytes --]
--- linux-2.6-xfs/fs/xfs/xfs_dir2_node.c 2008-03-22 22:41:12.118699220 +0800
+++ linux-xfs-usig/fs/xfs/xfs_dir2_node.c 2008-03-22 22:48:07.694781678 +0800
@@ -1502,8 +1502,10 @@ xfs_dir2_node_addname_int(
*/
xfs_da_brelse(tp, fbp);
fbp = NULL;
- if (fblk && fblk->bp)
+ if (fblk && fblk->bp) {
fblk->bp = NULL;
+ fbno = -1;
+ }
}
}
}
next reply other threads:[~2008-03-23 0:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-23 0:51 Kevin Xu [this message]
2008-03-24 22:16 ` [PATCH]fix fbno in xfs_dir2_node_addname_int David Chinner
2009-04-13 21:48 ` Eric Sandeen
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=47E5A982.8010002@gmail.com \
--to=cgxu.gg@gmail.com \
--cc=xfs@oss.sgi.com \
--cc=xfscn@googlegroups.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox