patch-2.3.13 linux/fs/minix/truncate.c

Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/minix/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/fs/minix/truncate.c linux/fs/minix/truncate.c
@@ -66,7 +66,7 @@
 			mark_buffer_clean(bh);
 			brelse(bh);
 		}
-		minix_free_block(inode->i_sb,tmp);
+		minix_free_block(inode,tmp);
 	}
 	return retry;
 }
@@ -114,7 +114,7 @@
 		*ind = 0;
 		mark_buffer_dirty(ind_bh, 1);
 		brelse(bh);
-		minix_free_block(inode->i_sb,tmp);
+		minix_free_block(inode,tmp);
 	}
 	ind = (unsigned short *) ind_bh->b_data;
 	for (i = 0; i < 512; i++)
@@ -126,7 +126,7 @@
 		else {
 			tmp = *p;
 			*p = 0;
-			minix_free_block(inode->i_sb,tmp);
+			minix_free_block(inode,tmp);
 		}
 	}
 	brelse(ind_bh);
@@ -172,7 +172,7 @@
 			tmp = *p;
 			*p = 0;
 			mark_inode_dirty(inode);
-			minix_free_block(inode->i_sb,tmp);
+			minix_free_block(inode,tmp);
 		}
 	}
 	brelse(dind_bh);
@@ -230,7 +230,7 @@
 			mark_buffer_clean(bh);
 			brelse(bh);
 		}
-		minix_free_block(inode->i_sb,tmp);
+		minix_free_block(inode,tmp);
 	}
 	return retry;
 }
@@ -278,7 +278,7 @@
 		*ind = 0;
 		mark_buffer_dirty(ind_bh, 1);
 		brelse(bh);
-		minix_free_block(inode->i_sb,tmp);
+		minix_free_block(inode,tmp);
 	}
 	ind = (unsigned long *) ind_bh->b_data;
 	for (i = 0; i < 256; i++)
@@ -290,7 +290,7 @@
 		else {
 			tmp = *p;
 			*p = 0;
-			minix_free_block(inode->i_sb,tmp);
+			minix_free_block(inode,tmp);
 		}
 	}
 	brelse(ind_bh);
@@ -336,7 +336,7 @@
 			tmp = *p;
 			*p = 0;
 			mark_inode_dirty(inode);
-			minix_free_block(inode->i_sb,tmp);
+			minix_free_block(inode,tmp);
 		}
 	}
 	brelse(dind_bh);
@@ -382,7 +382,7 @@
                         tmp = *p;
                         *p = 0;
                         mark_inode_dirty(inode);
-                        minix_free_block(inode->i_sb,tmp);
+                        minix_free_block(inode,tmp);
 		}
 	}
         brelse(tind_bh);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)