diff options
author | Kirk McKusick <mckusick@FreeBSD.org> | 2018-06-29 22:24:41 +0000 |
---|---|---|
committer | Kirk McKusick <mckusick@FreeBSD.org> | 2018-06-29 22:24:41 +0000 |
commit | ab0bcb60321e55632ae6c377becb9410d0fc0731 (patch) | |
tree | 2fa6939280626689ffe7d1cdba4e7dd5729ac4d4 /sys/netpfil | |
parent | 55a5b46aff84045feb84bad7afd8dffa34df33c5 (diff) | |
download | src-ab0bcb60321e55632ae6c377becb9410d0fc0731.tar.gz src-ab0bcb60321e55632ae6c377becb9410d0fc0731.zip |
Create um_flags in the ufsmount structure to hold flags for a UFS filesystem.
Convert integer structure flags to use um_flags:
int um_candelete; /* devvp supports TRIM */
int um_writesuspended; /* suspension in progress */
become:
#define UM_CANDELETE 0x00000001 /* devvp supports TRIM */
#define UM_WRITESUSPENDED 0x00000002 /* suspension in progress */
This is in preparation for adding other flags to indicate forcible
unmount in progress after a disk failure and possibly forcible
downgrade to read-only.
No functional change intended.
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=335808
Diffstat (limited to 'sys/netpfil')
0 files changed, 0 insertions, 0 deletions