ceph: fix atomic64_t initialization on ia64
authorJeff Mahoney <jeffm@suse.com>
Thu, 10 Jun 2010 15:13:58 +0000 (11:13 -0400)
committerSage Weil <sage@newdream.net>
Thu, 10 Jun 2010 20:29:50 +0000 (13:29 -0700)
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>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.c

index 8db88792b5ade3a7ac737653aea9f81c3e5fd1e3..fa87f51e38e112a38f8a95d87ac4c96e02e7d7ef 100644 (file)
@@ -926,7 +926,7 @@ static int ceph_compare_super(struct super_block *sb, void *data)
 /*
  * 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)
 {