s/file system/filesystem/g
Based on r96755 from UFS. MFC after: 3 days
This commit is contained in:
parent
b674594527
commit
abe38ac774
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251612
@ -63,7 +63,7 @@ static daddr_t ext2_nodealloccg(struct inode *, int, daddr_t, int);
|
|||||||
static daddr_t ext2_mapsearch(struct m_ext2fs *, char *, daddr_t);
|
static daddr_t ext2_mapsearch(struct m_ext2fs *, char *, daddr_t);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate a block in the file system.
|
* Allocate a block in the filesystem.
|
||||||
*
|
*
|
||||||
* A preference may be optionally specified. If a preference is given
|
* A preference may be optionally specified. If a preference is given
|
||||||
* the following hierarchy is used to allocate a block:
|
* the following hierarchy is used to allocate a block:
|
||||||
@ -125,8 +125,8 @@ ext2_alloc(struct inode *ip, int32_t lbn, int32_t bpref, int size,
|
|||||||
}
|
}
|
||||||
nospace:
|
nospace:
|
||||||
EXT2_UNLOCK(ump);
|
EXT2_UNLOCK(ump);
|
||||||
ext2_fserr(fs, cred->cr_uid, "file system full");
|
ext2_fserr(fs, cred->cr_uid, "filesystem full");
|
||||||
uprintf("\n%s: write failed, file system is full\n", fs->e2fs_fsmnt);
|
uprintf("\n%s: write failed, filesystem is full\n", fs->e2fs_fsmnt);
|
||||||
return (ENOSPC);
|
return (ENOSPC);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -338,7 +338,7 @@ ext2_reallocblks(struct vop_reallocblks_args *ap)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allocate an inode in the file system.
|
* Allocate an inode in the filesystem.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
@ -1083,7 +1083,7 @@ ext2_mapsearch(struct m_ext2fs *fs, char *bbp, daddr_t bpref)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Fserr prints the name of a file system with an error diagnostic.
|
* Fserr prints the name of a filesystem with an error diagnostic.
|
||||||
*
|
*
|
||||||
* The form of the error message is:
|
* The form of the error message is:
|
||||||
* fs: error message
|
* fs: error message
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
#include <fs/ext2fs/ext2_extern.h>
|
#include <fs/ext2fs/ext2_extern.h>
|
||||||
#include <fs/ext2fs/ext2_mount.h>
|
#include <fs/ext2fs/ext2_mount.h>
|
||||||
/*
|
/*
|
||||||
* Balloc defines the structure of file system storage
|
* Balloc defines the structure of filesystem storage
|
||||||
* by allocating the physical blocks on a device given
|
* by allocating the physical blocks on a device given
|
||||||
* the inode and the logical block number in a file.
|
* the inode and the logical block number in a file.
|
||||||
*/
|
*/
|
||||||
|
@ -747,7 +747,7 @@ ext2_flushfiles(struct mount *mp, int flags, struct thread *td)
|
|||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Get file system statistics.
|
* Get filesystem statistics.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
ext2_statfs(struct mount *mp, struct statfs *sbp)
|
ext2_statfs(struct mount *mp, struct statfs *sbp)
|
||||||
@ -852,7 +852,7 @@ ext2_sync(struct mount *mp, int waitfor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Force stale file system control information to be flushed.
|
* Force stale filesystem control information to be flushed.
|
||||||
*/
|
*/
|
||||||
if (waitfor != MNT_LAZY) {
|
if (waitfor != MNT_LAZY) {
|
||||||
vn_lock(ump->um_devvp, LK_EXCLUSIVE | LK_RETRY);
|
vn_lock(ump->um_devvp, LK_EXCLUSIVE | LK_RETRY);
|
||||||
|
Loading…
Reference in New Issue
Block a user