SOURCES: anyfs-tools-blksize.patch (NEW) - comment out i_blksize w...

shadzik shadzik at pld-linux.org
Mon Apr 2 05:23:22 CEST 2007


Author: shadzik                      Date: Mon Apr  2 03:23:22 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- comment out i_blksize which is not a member of inode struct 
  (this is a very ugly and bad hack and should be done in other ways but till then we are thankful for what we have)

---- Files affected:
SOURCES:
   anyfs-tools-blksize.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/anyfs-tools-blksize.patch
diff -u /dev/null SOURCES/anyfs-tools-blksize.patch:1.1
--- /dev/null	Mon Apr  2 05:23:22 2007
+++ SOURCES/anyfs-tools-blksize.patch	Mon Apr  2 05:23:17 2007
@@ -0,0 +1,22 @@
+--- anyfs/inode.c	2006-12-16 13:41:19.000000000 +0100
++++ anyfs/inode.c-new	2007-04-02 05:06:58.425006928 +0200
+@@ -181,7 +181,7 @@
+ 
+ 	inode->i_nlink = info->si_inode_table[inode->i_ino].i_links_count;
+ 
+-	inode->i_blksize = info->si_blocksize;
++	//inode->i_blksize = info->si_blocksize;
+ 	inode->i_blocks = 0;
+ 	
+ 	if ( S_ISREG(inode->i_mode) )
+--- anyfs/namei.c	2006-12-16 13:42:03.000000000 +0100
++++ anyfs/namei.c-new	2007-04-02 05:09:40.922481530 +0200
+@@ -288,7 +288,7 @@
+ 	inode->i_uid = current->fsuid;
+ 	inode->i_gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
+ 	inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME_SEC;
+-	inode->i_blocks = inode->i_blksize = 0;
++	//inode->i_blocks = inode->i_blksize = 0;
+ 	inode->i_mode = mode;
+ 	inode->i_ino = ino;
+ 	
================================================================


More information about the pld-cvs-commit mailing list