exofs: switch to new i_version API
[linux-2.6-block.git] / fs / exofs / super.c
index 819624cfc8da4c7bad401ee26611d69b7ff38f98..7e244093c0e51b9102b6c413f7f0862d04e6bf3a 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/module.h>
 #include <linux/exportfs.h>
 #include <linux/slab.h>
+#include <linux/iversion.h>
 
 #include "exofs.h"
 
@@ -159,7 +160,7 @@ static struct inode *exofs_alloc_inode(struct super_block *sb)
        if (!oi)
                return NULL;
 
-       oi->vfs_inode.i_version = 1;
+       inode_set_iversion(&oi->vfs_inode, 1);
        return &oi->vfs_inode;
 }