projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exofs: switch to new i_version API
[linux-2.6-block.git]
/
fs
/
exofs
/
super.c
diff --git
a/fs/exofs/super.c
b/fs/exofs/super.c
index 819624cfc8da4c7bad401ee26611d69b7ff38f98..7e244093c0e51b9102b6c413f7f0862d04e6bf3a 100644
(file)
--- a/
fs/exofs/super.c
+++ b/
fs/exofs/super.c
@@
-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;
}