lkml.org 
[lkml]   [2014]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/6] autofs4: remove unused autofs4_ispending()
    From
    Date
    On Thu, 2014-07-10 at 09:41 +1000, NeilBrown wrote:
    > Signed-off-by: NeilBrown <neilb@suse.de>

    Obviously straight forward.
    Acked-by: Ian Kent <raven@themaw.net>

    > ---
    > fs/autofs4/autofs_i.h | 14 --------------
    > 1 file changed, 14 deletions(-)
    >
    > diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h
    > index acf32054edd8..22a280151e45 100644
    > --- a/fs/autofs4/autofs_i.h
    > +++ b/fs/autofs4/autofs_i.h
    > @@ -143,20 +143,6 @@ static inline int autofs4_oz_mode(struct autofs_sb_info *sbi) {
    > return sbi->catatonic || task_pgrp(current) == sbi->oz_pgrp;
    > }
    >
    > -/* Does a dentry have some pending activity? */
    > -static inline int autofs4_ispending(struct dentry *dentry)
    > -{
    > - struct autofs_info *inf = autofs4_dentry_ino(dentry);
    > -
    > - if (inf->flags & AUTOFS_INF_PENDING)
    > - return 1;
    > -
    > - if (inf->flags & AUTOFS_INF_EXPIRING)
    > - return 1;
    > -
    > - return 0;
    > -}
    > -
    > struct inode *autofs4_get_inode(struct super_block *, umode_t);
    > void autofs4_free_ino(struct autofs_info *);
    >
    >
    >




    \
     
     \ /
      Last update: 2014-07-16 06:21    [W:4.678 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site