io-wq: wait for worker startup when forking a new one
[linux-2.6-microblaze.git] / fs / ocfs2 / suballoc.c
index 45745cc..8c8cf7f 100644 (file)
@@ -879,9 +879,9 @@ static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type)
 {
        spin_lock(&osb->osb_lock);
        if (type == INODE_ALLOC_SYSTEM_INODE)
-               osb->s_inode_steal_slot = slot;
+               osb->s_inode_steal_slot = (u16)slot;
        else if (type == EXTENT_ALLOC_SYSTEM_INODE)
-               osb->s_meta_steal_slot = slot;
+               osb->s_meta_steal_slot = (u16)slot;
        spin_unlock(&osb->osb_lock);
 }