Skip to content

Commit

Permalink
ceph: fix atomic64_t initialization on ia64
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Mahoney authored and Sage Weil committed Jun 10, 2010
1 parent 1e5ea23 commit 00d5643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 00d5643

Please sign in to comment.