aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/autofs4/autofs_i.h14
1 files changed, 0 insertions, 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) {
143 return sbi->catatonic || task_pgrp(current) == sbi->oz_pgrp; 143 return sbi->catatonic || task_pgrp(current) == sbi->oz_pgrp;
144} 144}
145 145
146/* Does a dentry have some pending activity? */
147static inline int autofs4_ispending(struct dentry *dentry)
148{
149 struct autofs_info *inf = autofs4_dentry_ino(dentry);
150
151 if (inf->flags & AUTOFS_INF_PENDING)
152 return 1;
153
154 if (inf->flags & AUTOFS_INF_EXPIRING)
155 return 1;
156
157 return 0;
158}
159
160struct inode *autofs4_get_inode(struct super_block *, umode_t); 146struct inode *autofs4_get_inode(struct super_block *, umode_t);
161void autofs4_free_ino(struct autofs_info *); 147void autofs4_free_ino(struct autofs_info *);
162 148