| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] hack to test create + ea |
| From: | Niv Sardi <xaiki@xxxxxxx> |
| Date: | Fri, 11 Jul 2008 15:38:15 +1000 |
| Cc: | Niv Sardi <xaiki@xxxxxxx> |
| In-reply-to: | <1215754695-6958-1-git-send-email-xaiki@sgi.com> |
| References: | <1215675545-2707-5-git-send-email-xaiki@sgi.com> <1215754695-6958-1-git-send-email-xaiki@sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
---
fs/xfs/xfs_vnodeops.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index e475e37..48df96b 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -1789,6 +1789,9 @@ xfs_create(
*/
XFS_QM_DQVOPCREATE(mp, tp, ip, udqp, gdqp);
+ /* hack to test create + ea */
+ xfs_attr_set_int_trans(&tp, ip, name, "TEST", strlen("TEST"),
ATTR_ROOT);
+
/*
* xfs_trans_commit normally decrements the vnode ref count
* when it unlocks the inode. Since we want to return the
--
1.5.6.2
|
| Previous by Date: | [PATCH] Export xfs_attr_set_int_trans, Niv Sardi |
|---|---|
| Next by Date: | Re: [PATCH] Give a transaction to xfs_attr_set_int, Niv Sardi |
| Previous by Thread: | [PATCH] Export xfs_attr_set_int_trans, Niv Sardi |
| Next by Thread: | Re: [PATCH] Export xfs_attr_set_int_trans, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |