diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 1999-07-13 18:20:13 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 1999-07-13 18:20:13 +0000 |
commit | 4dc0c8f521c9c0928e74fd8b720af751b896f91a (patch) | |
tree | 57c92a58232754a1edb08b0d9cce518ee3b1ebde /sys/gnu/fs/ext2fs/inode.h | |
parent | ea7583a1109eba55f54d9610a25747ed0ff02dc4 (diff) | |
download | src-4dc0c8f521c9c0928e74fd8b720af751b896f91a.tar.gz src-4dc0c8f521c9c0928e74fd8b720af751b896f91a.zip |
Create the macro DOINGASYNC to check whether the MNT_ASYNC flag has
been set for a mount point. Insert missing checks to ensure that all
write operations are done asynchronously when the MNT_ASYNC option
has been requested.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
Reviewed by: Kirk McKusick <mckusick@mckusick.com>
Notes
Notes:
svn path=/head/; revision=48801
Diffstat (limited to 'sys/gnu/fs/ext2fs/inode.h')
-rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 99854493718a..77fe7b3983b7 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.9 (Berkeley) 5/14/95 - * $Id: inode.h,v 1.24 1998/10/13 15:45:43 bde Exp $ + * $Id: inode.h,v 1.25 1999/03/06 05:21:09 bde Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -147,6 +147,7 @@ struct indir { /* Determine if soft dependencies are being done */ #define DOINGSOFTDEP(vp) ((vp)->v_mount->mnt_flag & MNT_SOFTDEP) +#define DOINGASYNC(vp) ((vp)->v_mount->mnt_flag & MNT_ASYNC) /* This overlays the fid structure (see mount.h). */ struct ufid { |