]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/inode.c
ext4: Add inode version support in ext4
[mirror_ubuntu-artful-kernel.git] / fs / inode.c
index b48324a94c2b55ad88e15a46aeb9d38fdd8c7d16..276ffd6b6fdd61cee59073bf6df95624fead672a 100644 (file)
@@ -1242,23 +1242,6 @@ void touch_atime(struct vfsmount *mnt, struct dentry *dentry)
 }
 EXPORT_SYMBOL(touch_atime);
 
-/**
- *     inode_inc_iversion      -       increments i_version
- *     @inode: inode that need to be updated
- *
- *     Every time the inode is modified, the i_version field
- *     will be incremented.
- *     The filesystem has to be mounted with i_version flag
- *
- */
-
-void inode_inc_iversion(struct inode *inode)
-{
-       spin_lock(&inode->i_lock);
-       inode->i_version++;
-       spin_unlock(&inode->i_lock);
-}
-
 /**
  *     file_update_time        -       update mtime and ctime time
  *     @file: file accessed