lkml.org 
[lkml]   [1998]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRE: fs/dquot.c and kernel/acct.c not compiling in pre-2.1.89-4

    On 01-Mar-98 Jani Hakala wrote:
    >
    > dquot.c complained about too few arguments to function `close_fp'
    > acct.c stopped at a conflicting declaration of close_fp
    >
    >
    > Jani Hakala
    >
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.rutgers.edu

    This will help...

    -------------------------------------------------------------
    --- linux/fs/dquot.c Mon Jan 12 22:46:24 1998
    +++ /usr/src/linux/fs/dquot.c Sat Feb 28 20:23:16 1998
    @@ -938,7 +938,7 @@
    vfsmnt->mnt_sb->dq_op = (struct dquot_operations *)NULL;
    reset_dquot_ptrs(dev, cnt);
    invalidate_dquots(dev, cnt);
    - close_fp(vfsmnt->mnt_quotas[cnt]);
    + fput(vfsmnt->mnt_quotas[cnt]);
    vfsmnt->mnt_quotas[cnt] = (struct file *)NULL;
    vfsmnt->mnt_iexp[cnt] = vfsmnt->mnt_bexp[cnt] = (time_t)NULL;
    }
    --- linux/kernel/acct.c Sat Feb 28 21:42:10 1998
    +++ /usr/src/linux/kernel/acct.c Sat Feb 28 20:47:19 1998
    @@ -52,7 +52,7 @@
    /*
    * External references and all of the globals.
    */
    -extern int close_fp(struct file *);
    +/* extern int close_fp(struct file *); */

    void acct_timeout(unsigned long);

    @@ -129,7 +129,8 @@
    del_timer(&acct_timer);
    acct_active = 0;
    acct_needcheck = 0;
    - close_fp(acct_file);
    + /* close_fp(acct_file); */
    + fput(acct_file);
    }
    error = 0;
    goto out;
    -------------------------------------------------------------
    --
    Manuel J. Galan
    manolow@step.es

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu

    \
     
     \ /
      Last update: 2005-03-22 13:41    [W:0.030 / U:119.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site