ovl: split super.c
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:56 +0000 (11:02 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 16 Dec 2016 10:02:56 +0000 (11:02 +0100)
commitbbb1e54dd53cf83863e856dd5518ce5e58791115
treef8b7c50ac58b2e88de8293d1423fb3150032e241
parent2b8c30e9ef1492c34099b97365115504f6cd6995
ovl: split super.c

fs/overlayfs/super.c is the biggest of the overlayfs source files and it
contains various utility functions as well as the rather complicated lookup
code.  Split these parts out to separate files.

Before:

 1446 fs/overlayfs/super.c

After:

  919 fs/overlayfs/super.c
  267 fs/overlayfs/namei.c
  235 fs/overlayfs/util.c
   51 fs/overlayfs/ovl_entry.h

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/Makefile
fs/overlayfs/namei.c [new file with mode: 0644]
fs/overlayfs/overlayfs.h
fs/overlayfs/ovl_entry.h [new file with mode: 0644]
fs/overlayfs/super.c
fs/overlayfs/util.c [new file with mode: 0644]