Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Move definition of IN_ALLMOD near the flag it's ...
details: https://anonhg.NetBSD.org/src/rev/c8c7daa87c1a
branches: trunk
changeset: 354127:c8c7daa87c1a
user: maya <maya%NetBSD.org@localhost>
date: Mon Jun 05 01:01:42 2017 +0000
description:
Move definition of IN_ALLMOD near the flag it's a mask for.
Now we can see that it doesn't match all the flags, but changing that will
require more careful thought.
diffstat:
sys/ufs/lfs/lfs.h | 9 +--------
sys/ufs/lfs/lfs_inode.h | 4 +++-
2 files changed, 4 insertions(+), 9 deletions(-)
diffs (41 lines):
diff -r 86b0d3fe5f1e -r c8c7daa87c1a sys/ufs/lfs/lfs.h
--- a/sys/ufs/lfs/lfs.h Sun Jun 04 23:40:31 2017 +0000
+++ b/sys/ufs/lfs/lfs.h Mon Jun 05 01:01:42 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs.h,v 1.201 2017/04/01 14:43:00 maya Exp $ */
+/* $NetBSD: lfs.h,v 1.202 2017/06/05 01:01:42 maya Exp $ */
/* from NetBSD: dinode.h,v 1.25 2016/01/22 23:06:10 dholland Exp */
/* from NetBSD: dir.h,v 1.25 2015/09/01 06:16:03 dholland Exp */
@@ -511,13 +511,6 @@
#define LFS_UNUSED_LBN -1
/*
- * "struct inode" associated definitions
- */
-
-/* For convenience */
-#define IN_ALLMOD (IN_MODIFIED|IN_ACCESS|IN_CHANGE|IN_UPDATE|IN_MODIFY|IN_ACCESSED|IN_CLEANING)
-
-/*
* On-disk and in-memory checkpoint segment usage structure.
*/
typedef struct segusage SEGUSE;
diff -r 86b0d3fe5f1e -r c8c7daa87c1a sys/ufs/lfs/lfs_inode.h
--- a/sys/ufs/lfs/lfs_inode.h Sun Jun 04 23:40:31 2017 +0000
+++ b/sys/ufs/lfs/lfs_inode.h Mon Jun 05 01:01:42 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_inode.h,v 1.19 2017/04/06 03:21:01 maya Exp $ */
+/* $NetBSD: lfs_inode.h,v 1.20 2017/06/05 01:01:42 maya Exp $ */
/* from NetBSD: ulfs_inode.h,v 1.5 2013/06/06 00:51:50 dholland Exp */
/* from NetBSD: inode.h,v 1.72 2016/06/03 15:36:03 christos Exp */
@@ -170,6 +170,8 @@
#define IN_PAGING 0x1000 /* LFS: file is on paging queue */
#define IN_CDIROP 0x4000 /* LFS: dirop completed pending i/o */
+#define IN_ALLMOD (IN_MODIFIED|IN_ACCESS|IN_CHANGE|IN_UPDATE|IN_MODIFY|IN_ACCESSED|IN_CLEANING)
+
/*
* LFS inode extensions.
*/
Home |
Main Index |
Thread Index |
Old Index