sys/vfs/hammer: Add hammer_is_pfs_{master|slave|deleted}()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 25 Feb 2016 19:09:23 +0000 (04:09 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 27 Feb 2016 16:40:23 +0000 (01:40 +0900)
commit2bacc08883eab1ae8a0d3e010a0fe6d00f10fe7f
tree751821985bc6e1244e2df1af63221617935516d8
parentdc3fe97567cf2a0607288dc007c77140f8356c64
sys/vfs/hammer: Add hammer_is_pfs_{master|slave|deleted}()

Makes code more readable, but introducing these macros could
make |= and &=~ unclear by hiding &.
There are a few |= and &=~ but not many.
lib/libhammer/info.c
sbin/hammer/cmd_cleanup.c
sbin/hammer/cmd_mirror.c
sbin/hammer/cmd_pfs.c
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_pfs.c
sys/vfs/hammer/hammer_vnops.c