Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/makefs/msdos/msdosfs_denode.c
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
#include <sys/vnode.h> | #include <sys/vnode.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <util.h> | #include <util.h> | ||||
#include <fs/msdosfs/bpb.h> | #include <fs/msdosfs/bpb.h> | ||||
#include "msdos/denode.h" | |||||
#include "msdos/msdosfsmount.h" | |||||
#include <fs/msdosfs/fat.h> | |||||
#include "makefs.h" | #include "makefs.h" | ||||
#include "msdos.h" | #include "msdos.h" | ||||
#include "ffs/buf.h" | #include "ffs/buf.h" | ||||
#include "msdos/denode.h" | |||||
#include "msdos/direntry.h" | #include "msdos/direntry.h" | ||||
#include "msdos/fat.h" | |||||
#include "msdos/msdosfsmount.h" | |||||
/* | /* | ||||
* If deget() succeeds it returns with the gotten denode locked(). | * If deget() succeeds it returns with the gotten denode locked(). | ||||
* | * | ||||
* pmp - address of msdosfsmount structure of the filesystem containing | * pmp - address of msdosfsmount structure of the filesystem containing | ||||
* the denode of interest. The pm_dev field and the address of | * the denode of interest. The pm_dev field and the address of | ||||
* the msdosfsmount structure are used. | * the msdosfsmount structure are used. | ||||
* dirclust - which cluster bp contains, if dirclust is 0 (root directory) | * dirclust - which cluster bp contains, if dirclust is 0 (root directory) | ||||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |