* file.c: Use struct vfs_class, not type vfs, which should be
internal to VFS code.
Этот коммит содержится в:
родитель
9632550889
Коммит
f1288c7338
@ -1,3 +1,8 @@
|
|||||||
|
2003-10-11 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* file.c: Use struct vfs_class, not type vfs, which should be
|
||||||
|
internal to VFS code.
|
||||||
|
|
||||||
2003-10-08 Pavel Roskin <proski@gnu.org>
|
2003-10-08 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* background.h: Eliminate background_wait variable. Adjust all
|
* background.h: Eliminate background_wait variable. Adjust all
|
||||||
|
@ -110,7 +110,7 @@ int safe_delete = 0;
|
|||||||
/* This is a hard link cache */
|
/* This is a hard link cache */
|
||||||
struct link {
|
struct link {
|
||||||
struct link *next;
|
struct link *next;
|
||||||
vfs *vfs;
|
struct vfs_class *vfs;
|
||||||
dev_t dev;
|
dev_t dev;
|
||||||
ino_t ino;
|
ino_t ino;
|
||||||
short linkcount;
|
short linkcount;
|
||||||
@ -280,7 +280,7 @@ is_in_linklist (struct link *lp, char *path, struct stat *sb)
|
|||||||
ino_t ino = sb->st_ino;
|
ino_t ino = sb->st_ino;
|
||||||
dev_t dev = sb->st_dev;
|
dev_t dev = sb->st_dev;
|
||||||
#ifdef USE_VFS
|
#ifdef USE_VFS
|
||||||
vfs *vfs = vfs_type (path);
|
struct vfs_class *vfs = vfs_type (path);
|
||||||
#endif /* USE_VFS */
|
#endif /* USE_VFS */
|
||||||
|
|
||||||
while (lp) {
|
while (lp) {
|
||||||
@ -302,7 +302,7 @@ static int
|
|||||||
check_hardlinks (char *src_name, char *dst_name, struct stat *pstat)
|
check_hardlinks (char *src_name, char *dst_name, struct stat *pstat)
|
||||||
{
|
{
|
||||||
struct link *lp;
|
struct link *lp;
|
||||||
vfs *my_vfs = vfs_type (src_name);
|
struct vfs_class *my_vfs = vfs_type (src_name);
|
||||||
ino_t ino = pstat->st_ino;
|
ino_t ino = pstat->st_ino;
|
||||||
dev_t dev = pstat->st_dev;
|
dev_t dev = pstat->st_dev;
|
||||||
struct stat link_stat;
|
struct stat link_stat;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user