• Pavel Emelyanov's avatar
    mount: Move fstypes related code into separate files · 2c623a56
    Pavel Emelyanov authored
    After this the mount.c is no longer the fattest .c in the tree:
    
      - before
        3947 criu/mount.c
        3179 criu/cr-restore.c
        2622 criu/proc_parse.c
        2095 criu/tty.c
    
      - after
        3179 criu/cr-restore.c
        3170 criu/mount.c
        2623 criu/proc_parse.c
        2095 criu/tty.c
    
    One "not move" thing is -- since fstype array is static to the
    filesystems.c and mount.c needs to access fstype[1] for auto
    mounts, the fstype_auto() call is added.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    2c623a56
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...