diff options
author | 2016-12-08 15:48:19 -0800 | |
---|---|---|
committer | 2016-12-08 22:01:47 -0800 | |
commit | 2953079c692da067aeb6345659875b97378f9b0a (patch) | |
tree | 06bec98f71114629966da122360fd38a6f8ec422 /net/unix/af_unix.c | |
parent | md: MD_RECOVERY_NEEDED is set for mddev->recovery (diff) | |
download | wireguard-linux-2953079c692da067aeb6345659875b97378f9b0a.tar.xz wireguard-linux-2953079c692da067aeb6345659875b97378f9b0a.zip |
md: separate flags for superblock changes
The mddev->flags are used for different purposes. There are a lot of
places we check/change the flags without masking unrelated flags, we
could check/change unrelated flags. These usage are most for superblock
write, so spearate superblock related flags. This should make the code
clearer and also fix real bugs.
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions