Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24-git11 /fs/inode.c

Filename:/fs/inode.c
Lines Added:5
Lines Deleted:0
Also changed in: (Previous) 2.6.24-git10  2.6.24-git9  2.6.24-git8  2.6.24-git7  2.6.24-git6  2.6.24 
(Following) 2.6.24-git12  2.6.24-git13  2.6.24-git14  2.6.24-git15  2.6.24-git16  2.6.24-git17 

Location
[  2.6.24-git11
  [  fs
     o  inode.c

Patch

diff --git a/fs/inode.c b/fs/inode.c
index ed35383..276ffd6 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1276,6 +1276,11 @@ void file_update_time(struct file *file)
       sync_it = 1;
    }
 
+   if (IS_I_VERSION(inode)) {
+      inode_inc_iversion(inode);
+      sync_it = 1;
+   }
+
    if (sync_it)
       mark_inode_dirty_sync(inode);
 }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.