patch-2.3.51 linux/include/linux/dcache.h
Next file: linux/include/linux/efs_fs.h
Previous file: linux/include/linux/brlock.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Mar 8 09:04:09 2000
- Orig file:
v2.3.50/linux/include/linux/dcache.h
- Orig date:
Sun Feb 20 21:12:39 2000
diff -u --recursive --new-file v2.3.50/linux/include/linux/dcache.h linux/include/linux/dcache.h
@@ -191,6 +191,11 @@
return dentry;
}
+static __inline__ int d_unhashed(struct dentry *dentry)
+{
+ return list_empty(&dentry->d_hash);
+}
+
extern void dput(struct dentry *);
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)