* [Ocfs2-devel] [PATCH 1/1] ocfs2: Avoid to evaluate xattr block flags again.
@ 2010-10-12 3:18 Jeff Liu
2010-10-12 6:19 ` Joel Becker
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Liu @ 2010-10-12 3:18 UTC (permalink / raw)
To: ocfs2-devel
It was evaludated to indexed before, check it is ok i think.
Signed-off-by: Jeff Liu <jeff.liu@oracle.com>
---
fs/ocfs2/xattr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/xattr.c b/fs/ocfs2/xattr.c
index e97b348..1e51eb4 100644
--- a/fs/ocfs2/xattr.c
+++ b/fs/ocfs2/xattr.c
@@ -7011,7 +7011,7 @@ static int ocfs2_reflink_xattr_in_block(struct ocfs2_xattr_reflink *args,
goto out;
}
- if (!(le16_to_cpu(xb->xb_flags) & OCFS2_XATTR_INDEXED))
+ if (!indexed)
ret = ocfs2_reflink_xattr_block(args, blk_bh, new_blk_bh);
else
ret = ocfs2_reflink_xattr_tree(args, blk_bh, new_blk_bh);
--
1.5.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Ocfs2-devel] [PATCH 1/1] ocfs2: Avoid to evaluate xattr block flags again.
2010-10-12 3:18 [Ocfs2-devel] [PATCH 1/1] ocfs2: Avoid to evaluate xattr block flags again Jeff Liu
@ 2010-10-12 6:19 ` Joel Becker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Becker @ 2010-10-12 6:19 UTC (permalink / raw)
To: ocfs2-devel
On Tue, Oct 12, 2010 at 11:18:18AM +0800, Jeff Liu wrote:
> It was evaludated to indexed before, check it is ok i think.
>
> Signed-off-by: Jeff Liu <jeff.liu@oracle.com>
This patch is now in the merge-window branch of ocfs2.git.
Joel
--
"Where are my angels?
Where's my golden one?
And where is my hope
Now that my heroes are gone?"
Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-12 6:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 3:18 [Ocfs2-devel] [PATCH 1/1] ocfs2: Avoid to evaluate xattr block flags again Jeff Liu
2010-10-12 6:19 ` Joel Becker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).