lkml.org 
[lkml]   [2005]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: VFS: file-max limit 50044 reached
    From
    Date
        > --- 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/

    \
     
     \ /
      Last update: 2005-10-17 06:00    [W:0.019 / U:0.376 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site