summaryrefslogtreecommitdiffstats
path: root/sys/fs/nandfs
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-07-07 23:21:07 +0000
committerimp <imp@FreeBSD.org>2014-07-07 23:21:07 +0000
commitbffc4efe0b135cc9f6aa3acf917b5e69ddfa4141 (patch)
tree47a6e12c6903f3f665d9fefcb7e52decdf0be5d6 /sys/fs/nandfs
parent9f3ff514cae98d426eab3ea87e58ca11f61a53f0 (diff)
downloadFreeBSD-src-bffc4efe0b135cc9f6aa3acf917b5e69ddfa4141.zip
FreeBSD-src-bffc4efe0b135cc9f6aa3acf917b5e69ddfa4141.tar.gz
Naughty NANDFS was using hidden unused flag, hiding the fact that the
flag was used and wasn't really available. Change the name without fixing any laying issues that might be present in NANDFS' use of this flag.
Diffstat (limited to 'sys/fs/nandfs')
-rw-r--r--sys/fs/nandfs/nandfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nandfs/nandfs.h b/sys/fs/nandfs/nandfs.h
index fd5978a..899a7dd 100644
--- a/sys/fs/nandfs/nandfs.h
+++ b/sys/fs/nandfs/nandfs.h
@@ -303,8 +303,8 @@ struct nandfs_node {
#define PRINT_NODE_FLAGS \
"\10\1IN_ACCESS\2IN_CHANGE\3IN_UPDATE\4IN_MODIFIED\5IN_RENAME"
-#define NANDFS_GATHER(x) ((x)->b_flags |= B_00800000)
-#define NANDFS_UNGATHER(x) ((x)->b_flags &= ~B_00800000)
-#define NANDFS_ISGATHERED(x) ((x)->b_flags & B_00800000)
+#define NANDFS_GATHER(x) ((x)->b_flags |= B_FS_FLAG1)
+#define NANDFS_UNGATHER(x) ((x)->b_flags &= ~B_FS_FLAG1)
+#define NANDFS_ISGATHERED(x) ((x)->b_flags & B_FS_FLAG1)
#endif /* !_FS_NANDFS_NANDFS_H_ */
OpenPOWER on IntegriCloud