[systemd-devel] [PATCH] core: mount only 4 partition in mount_setup_early()

Lennart Poettering lennart at poettering.net
Wed Aug 13 11:04:55 PDT 2014

On Wed, 06.08.14 21:53, Sangjung Woo (sangjung.woo at samsung.com) wrote:

> systemd doesn't mount smackfs if systemd was compiled without Smack
> support. However, the number of mount point entry in mount_setup_early()
> (i.e. N_EARLY_MOUNT) is 5 since smackfs is included. N_EARLY_MOUNT
> should be 4 because currently smackfs is optional.

I have now made a change that sets it to 5 if smack is on (since smackfs
is needed in the early mounts if smack is on), and 4 otherwise. This
should avoid any confusion. I also updated the comment next to the



Lennart Poettering, Red Hat

More information about the systemd-devel mailing list