summaryrefslogtreecommitdiff
path: root/fs/overlayfs/copy_up.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-10-30 13:33:11 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2017-11-09 10:23:27 +0100
commitee023c30d7d6bc21d3a85f3625a30209bdcc41e6 (patch)
tree18e934c910e91e9fd72b9f6bb1ee2d652c310163 /fs/overlayfs/copy_up.c
parent07f6fff148364ad7c0174d6536a124a0679177a2 (diff)
downloadlinux-rpi-ee023c30d7d6bc21d3a85f3625a30209bdcc41e6.tar.gz
linux-rpi-ee023c30d7d6bc21d3a85f3625a30209bdcc41e6.tar.bz2
linux-rpi-ee023c30d7d6bc21d3a85f3625a30209bdcc41e6.zip
ovl: move include of ovl_entry.h into overlayfs.h
Most overlayfs c files already explicitly include ovl_entry.h to use overlay entry struct definitions and upcoming changes are going to require even more c files to include this header. All overlayfs c files include overlayfs.h and overlayfs.h itself refers to some structs defined in ovl_entry.h, so it seems more logic to include ovl_entry.h from overlayfs.h than from c files. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/copy_up.c')
-rw-r--r--fs/overlayfs/copy_up.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
index d07ad7bbd041..eb3b8d39fb61 100644
--- a/fs/overlayfs/copy_up.c
+++ b/fs/overlayfs/copy_up.c
@@ -22,7 +22,6 @@
#include <linux/ratelimit.h>
#include <linux/exportfs.h>
#include "overlayfs.h"
-#include "ovl_entry.h"
#define OVL_COPY_UP_CHUNK_SIZE (1 << 20)