patch-2.1.30 linux/fs/inode.c

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

diff -u --recursive --new-file v2.1.29/linux/fs/inode.c linux/fs/inode.c
@@ -489,7 +489,7 @@
 	inode = first_inode;
 	best = NULL;
 	badness = 1000;
-	for (i = nr_inodes/2; i > 0; i--,inode = inode->i_next) {
+	for (i = nr_inodes/2; i > 0; i--,inode = inode->i_prev) {
 		if (!inode->i_count) {
 			unsigned long i = 999;
 			if (!(inode->i_lock | inode->i_dirt))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov