Messages in this thread Patch in this message | | | Subject | Re: VFS: file-max limit 50044 reached | From | Roland Dreier <> | Date | Sun, 16 Oct 2005 20:54:03 -0700 |
| |
> --- a/fs/file_table.c > +++ b/fs/file_table.c > @@ -39,21 +39,9 @@ void filp_ctor(void * objp, struct kmem_ > { > if ((cflags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == > SLAB_CTOR_CONSTRUCTOR) { > - unsigned long flags; > - spin_lock_irqsave(&filp_count_lock, flags); > - files_stat.nr_files++; > - spin_unlock_irqrestore(&filp_count_lock, flags); > } > }
Am I missing something? Why not delete the whole filp_ctor() function rather than just the then clause of the if()?
- R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |