Whamcloud - gitweb
Initialize i_file_acl for EXT3_BAD_INO (Johann)
authorgirish <girish>
Thu, 23 Oct 2008 18:34:45 +0000 (18:34 +0000)
committergirish <girish>
Thu, 23 Oct 2008 18:34:45 +0000 (18:34 +0000)
i=adilger
i=kalpak
b=17414

ldiskfs/kernel_patches/patches/iopen-2.6-fc5.patch
ldiskfs/kernel_patches/patches/iopen-2.6-rhel4.patch
ldiskfs/kernel_patches/patches/iopen-2.6.18-rhel5.patch
ldiskfs/kernel_patches/patches/iopen-2.6.22-vanilla.patch

index 975525a..f648617 100644 (file)
@@ -2,7 +2,7 @@ Index: linux-2.6.16.54-0.2.5/fs/ext3/iopen.c
 ===================================================================
 --- /dev/null
 +++ linux-2.6.16.54-0.2.5/fs/ext3/iopen.c
-@@ -0,0 +1,295 @@
+@@ -0,0 +1,296 @@
 +/*
 + * linux/fs/ext3/iopen.c
 + *
@@ -285,6 +285,7 @@ Index: linux-2.6.16.54-0.2.5/fs/ext3/iopen.c
 +      inode->i_ctime = CURRENT_TIME;
 +      inode->i_mtime = CURRENT_TIME;
 +      EXT3_I(inode)->i_dtime = 0;
++      EXT3_I(inode)->i_file_acl = 0;
 +      inode->i_blksize = PAGE_SIZE;   /* This is the optimal IO size
 +                                       * (for stat), not the fs block
 +                                       * size */
index a54e058..3b7676f 100644 (file)
@@ -36,7 +36,7 @@ Index: linux-2.6.9-67/fs/ext3/iopen.c
 ===================================================================
 --- /dev/null
 +++ linux-2.6.9-67/fs/ext3/iopen.c
-@@ -0,0 +1,314 @@
+@@ -0,0 +1,315 @@
 +/*
 + * linux/fs/ext3/iopen.c
 + *
@@ -338,6 +338,7 @@ Index: linux-2.6.9-67/fs/ext3/iopen.c
 +      inode->i_ctime = CURRENT_TIME;
 +      inode->i_mtime = CURRENT_TIME;
 +      EXT3_I(inode)->i_dtime = 0;
++      EXT3_I(inode)->i_file_acl = 0;
 +      inode->i_blksize = PAGE_SIZE;   /* This is the optimal IO size
 +                                       * (for stat), not the fs block
 +                                       * size */
index c760129..ad001a8 100644 (file)
@@ -2,7 +2,7 @@ Index: linux-2.6.18-53.1.21/fs/ext3/iopen.c
 ===================================================================
 --- /dev/null
 +++ linux-2.6.18-53.1.21/fs/ext3/iopen.c
-@@ -0,0 +1,290 @@
+@@ -0,0 +1,291 @@
 +/*
 + * linux/fs/ext3/iopen.c
 + *
@@ -283,6 +283,7 @@ Index: linux-2.6.18-53.1.21/fs/ext3/iopen.c
 +      inode->i_ctime = CURRENT_TIME;
 +      inode->i_mtime = CURRENT_TIME;
 +      EXT3_I(inode)->i_dtime = 0;
++      EXT3_I(inode)->i_file_acl = 0;
 +      inode->i_blocks = 0;
 +      inode->i_version = 1;
 +      inode->i_generation = 0;
index 88192a6..fc8e0f6 100644 (file)
@@ -2,7 +2,7 @@ Index: linux-2.6.22.19/fs/ext3/iopen.c
 ===================================================================
 --- /dev/null
 +++ linux-2.6.22.19/fs/ext3/iopen.c
-@@ -0,0 +1,292 @@
+@@ -0,0 +1,293 @@
 +/*
 + * linux/fs/ext3/iopen.c
 + *
@@ -285,6 +285,7 @@ Index: linux-2.6.22.19/fs/ext3/iopen.c
 +      inode->i_ctime = CURRENT_TIME;
 +      inode->i_mtime = CURRENT_TIME;
 +      EXT3_I(inode)->i_dtime = 0;
++      EXT3_I(inode)->i_file_acl = 0;
 +      inode->i_blocks = 0;
 +      inode->i_version = 1;
 +      inode->i_generation = 0;