summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-02-08 19:18:33 +0000
committerkib <kib@FreeBSD.org>2009-02-08 19:18:33 +0000
commit8571ced24c174eea12d164f46470290a8ed9cec6 (patch)
tree7dfcb5eedc4540a1aa55fa41015be168102928ea /sys/fs/tmpfs/tmpfs.h
parent185bd48df413b2f290b4b5ccd6fb5af7310ec8a3 (diff)
downloadFreeBSD-src-8571ced24c174eea12d164f46470290a8ed9cec6.zip
FreeBSD-src-8571ced24c174eea12d164f46470290a8ed9cec6.tar.gz
Lookup up the directory entry for the tmpfs node that are deleted by
both node pointer and name component. This does the right thing for hardlinks to the same node in the same directory. Submitted by: Yoshihiro Ota <ota j email ne jp> PR: kern/131356 MFC after: 2 weeks
Diffstat (limited to 'sys/fs/tmpfs/tmpfs.h')
-rw-r--r--sys/fs/tmpfs/tmpfs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/tmpfs/tmpfs.h b/sys/fs/tmpfs/tmpfs.h
index 5b3be11..1ae8ca6 100644
--- a/sys/fs/tmpfs/tmpfs.h
+++ b/sys/fs/tmpfs/tmpfs.h
@@ -408,9 +408,8 @@ int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *,
void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *);
void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *);
struct tmpfs_dirent * tmpfs_dir_lookup(struct tmpfs_node *node,
+ struct tmpfs_node *f,
struct componentname *cnp);
-struct tmpfs_dirent *tmpfs_dir_search(struct tmpfs_node *node,
- struct tmpfs_node *f);
int tmpfs_dir_getdotdent(struct tmpfs_node *, struct uio *);
int tmpfs_dir_getdotdotdent(struct tmpfs_node *, struct uio *);
struct tmpfs_dirent * tmpfs_dir_lookupbycookie(struct tmpfs_node *, off_t);
OpenPOWER on IntegriCloud