Sync with gnulub c6148bca89e9465fd6ba3a10d273ec4cb58c2dbe.
commit88612bc61877cbc57da6d9c4ffb84f836fe33858
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 27 Sep 2015 07:45:02 +0000 (27 10:45 +0300)
committerSlava Zanko <v.zanko@godeltech.com>
Thu, 5 Nov 2015 11:33:20 +0000 (5 14:33 +0300)
treefc697ae43650e8f786f0b1a4b7c39b39a02b1193
parentfdc094324dc1439b08cfe3df417579085009a849
Sync with gnulub c6148bca89e9465fd6ba3a10d273ec4cb58c2dbe.

mountlist: add me_mntroot field on Linux machines.

Populate me_mntroot in mount_entry so Linux machines based on
/proc/self/mountinfo can distinguish between bind mounts and original
mounts. In reality bind mounts aren't treated differently than
mountroot=/ mounts by the kernel, but the user often wants these bind
mounts distinguished.

Currently, this in not used in mc, but probably can be used in future.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/mountlist.c
src/filemanager/mountlist.h