search for: s_dirs_counter

Displaying 2 results from an estimated 2 matches for "s_dirs_counter".

2003 Nov 05
6
[PATCH] Link breaks for large NR_CPUS
ext2 & ext3 lists, Attatched is a patch that allows ext2 and ext3 to link correctly when the kernel is configured with a large NR_CPUS. We do have an immediate need for this patch. Any opinions on this? The per-cpu lists are causing the kmalloc to fail due to allocating more than the max. thanks mh -- Martin Hicks Wild Open Source Inc. mort@wildopensource.com
2005 Mar 25
1
[PATCH] kfree() NULL pointer cleanups - no need to check - fs/ext3/
...switch(type) { case ACL_TYPE_ACCESS: --- linux-2.6.12-rc1-mm3-orig/fs/ext3/super.c 2005-03-25 15:28:59.000000000 +0100 +++ linux-2.6.12-rc1-mm3/fs/ext3/super.c 2005-03-25 22:42:53.000000000 +0100 @@ -395,10 +395,8 @@ static void ext3_put_super (struct super percpu_counter_destroy(&sbi->s_dirs_counter); brelse(sbi->s_sbh); #ifdef CONFIG_QUOTA - for (i = 0; i < MAXQUOTAS; i++) { - if (sbi->s_qf_names[i]) - kfree(sbi->s_qf_names[i]); - } + for (i = 0; i < MAXQUOTAS; i++) + kfree(sbi->s_qf_names[i]); #endif /* Debugging code just in case the in-memory inode orphan list...