All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ceph: fix atomic64_t initialization on ia64
@ 2010-06-10 15:13 Jeff Mahoney
  2010-06-10 17:00 ` Sage Weil
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Mahoney @ 2010-06-10 15:13 UTC (permalink / raw)
  To: Sage Weil; +Cc: Andrew Morton, ceph-devel

 bdi_seq is an atomic_long_t but we're using ATOMIC_INIT, which causes
 build failures on ia64. This patch fixes it to use ATOMIC_LONG_INIT.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 fs/ceph/super.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -926,7 +926,7 @@ static int ceph_compare_super(struct sup
 /*
  * construct our own bdi so we can control readahead, etc.
  */
-static atomic_long_t bdi_seq = ATOMIC_INIT(0);
+static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0);
 
 static int ceph_register_bdi(struct super_block *sb, struct ceph_client *client)
 {
-- 
Jeff Mahoney
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ceph: fix atomic64_t initialization on ia64
  2010-06-10 15:13 [PATCH] ceph: fix atomic64_t initialization on ia64 Jeff Mahoney
@ 2010-06-10 17:00 ` Sage Weil
  0 siblings, 0 replies; 2+ messages in thread
From: Sage Weil @ 2010-06-10 17:00 UTC (permalink / raw)
  To: Jeff Mahoney; +Cc: Andrew Morton, ceph-devel

Thanks, Jeff.  I'll send this to Linus shortly with the other pending Ceph 
stuff.

sage


On Thu, 10 Jun 2010, Jeff Mahoney wrote:

>  bdi_seq is an atomic_long_t but we're using ATOMIC_INIT, which causes
>  build failures on ia64. This patch fixes it to use ATOMIC_LONG_INIT.
> 
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> ---
>  fs/ceph/super.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/fs/ceph/super.c
> +++ b/fs/ceph/super.c
> @@ -926,7 +926,7 @@ static int ceph_compare_super(struct sup
>  /*
>   * construct our own bdi so we can control readahead, etc.
>   */
> -static atomic_long_t bdi_seq = ATOMIC_INIT(0);
> +static atomic_long_t bdi_seq = ATOMIC_LONG_INIT(0);
>  
>  static int ceph_register_bdi(struct super_block *sb, struct ceph_client *client)
>  {
> -- 
> Jeff Mahoney
> SUSE Labs
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-10 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-10 15:13 [PATCH] ceph: fix atomic64_t initialization on ia64 Jeff Mahoney
2010-06-10 17:00 ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.