The patch titled Subject: autofs4: remove unused autofs4_ispending() has been added to the -mm tree. Its filename is autofs4-remove-unused-autofs4_ispending.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/autofs4-remove-unused-autofs4_ispending.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/autofs4-remove-unused-autofs4_ispending.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: NeilBrown <neilb@xxxxxxx> Subject: autofs4: remove unused autofs4_ispending() Signed-off-by: NeilBrown <neilb@xxxxxxx> Acked-by: Ian Kent <raven@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/autofs4/autofs_i.h | 14 -------------- 1 file changed, 14 deletions(-) diff -puN fs/autofs4/autofs_i.h~autofs4-remove-unused-autofs4_ispending fs/autofs4/autofs_i.h --- a/fs/autofs4/autofs_i.h~autofs4-remove-unused-autofs4_ispending +++ a/fs/autofs4/autofs_i.h @@ -143,20 +143,6 @@ static inline int autofs4_oz_mode(struct 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 *); _ Patches currently in -mm which might be from neilb@xxxxxxx are autofs4-remove-unused-autofs4_ispending.patch autofs4-remove-a-redundant-assignment.patch autofs4-comment-typo-remove-a-a-doubled-word.patch autofs4-remove-some-unused-inline-functions.patch autofs4-dont-take-spinlock-when-not-needed-in-autofs4_lookup_expiring.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html