projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc37189
)
ocfs2: Avoid to evaluate xattr block flags again.
author
Jeff Liu
<jeff.liu@oracle.com>
Tue, 12 Oct 2010 03:18:18 +0000
(11:18 +0800)
committer
Joel Becker
<joel.becker@oracle.com>
Fri, 15 Oct 2010 20:03:43 +0000
(13:03 -0700)
It was evaludated to indexed before, check it is ok i think.
Signed-off-by: Jeff Liu <jeff.liu@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/xattr.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/xattr.c
b/fs/ocfs2/xattr.c
index 06fa5e77c40ef7aa0a3c0483ddbf3b9dd59f9dcf..67cd43914641f5d3d522c098763437e21b7c7f46 100644
(file)
--- a/
fs/ocfs2/xattr.c
+++ b/
fs/ocfs2/xattr.c
@@
-7081,7
+7081,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);