xfs
[Top] [All Lists]

[PATCH] xfs_destroy_workqueues() should not be tagged with __exit

To: torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] xfs_destroy_workqueues() should not be tagged with __exit
From: Alex Elder <aelder@xxxxxxx>
Date: Mon, 11 Apr 2011 16:48:19 -0500
Cc: akpm <akpm@xxxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, "Luck, Tony" <tony.luck@xxxxxxxxx>
Reply-to: aelder@xxxxxxx
Linus, please apply the following patch, which fixes
a problem with ia64 builds that is present in the XFS
pull request I sent you this morning.  Thank you.

                                        -Alex

-------- Forwarded Message --------
From: Luck, Tony <tony.luck@xxxxxxxxx>
To: xfs-masters@xxxxxxxxxxx
Cc: hch@xxxxxx, dchinner@xxxxxxxxxx, aelder@xxxxxxx
Subject: [PATCH] xfs_destroy_workqueues() should not be tagged with
__exit
Date: Mon, 11 Apr 2011 12:06:12 -0700

ia64 throws away .exit sections for the built-in CONFIG case, so routines
that are used in other circumstances should not be tagged as __exit.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Signed-off-by: Alex Elder <aelder@xxxxxxx>

---

Should be applied after (or merged into) Dave Chinner's patch
        xfs: convert the xfsaild threads to a workqueue
which appeared as commit 0bf6a5bd4b55b466964ead6fa566d8f346a828ee in
next-20110411

diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 67d5b2c..b38e58d 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -1741,7 +1741,7 @@ out:
        return -ENOMEM;
 }
 
-STATIC void __exit
+STATIC void
 xfs_destroy_workqueues(void)
 {
        destroy_workqueue(xfs_ail_wq);


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] xfs_destroy_workqueues() should not be tagged with __exit, Alex Elder <=