mount: struct mount: replace "mounted" and "ignore" fileds with a "status"
authorRafał Miłecki <rafal@milecki.pl>
Fri, 9 Feb 2018 16:18:20 +0000 (17:18 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 12 Feb 2018 09:52:17 +0000 (10:52 +0100)
commited4270f23e7df70414fcb09203bcbc86f1b85a81
treeccbad29aa700565c527049a1596aaa0402f193a1
parent1af9ca2c14f6c65f23244ff7562e069c51326dd8
mount: struct mount: replace "mounted" and "ignore" fileds with a "status"

There is no need to store status using these 2 separated fields.
Obviously ignored mount should never get mounted. This change will also
allow adding more statuses easily in the future if needed.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
mount.c