summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/copy_up.c
diff options
context:
space:
mode:
authorAmir Goldstein2017-10-30 12:33:11 +0100
committerMiklos Szeredi2017-11-09 10:23:27 +0100
commitee023c30d7d6bc21d3a85f3625a30209bdcc41e6 (patch)
tree18e934c910e91e9fd72b9f6bb1ee2d652c310163 /fs/overlayfs/copy_up.c
parentovl: fix rmdir problem on non-merge dir with origin xattr (diff)
downloadkernel-qcow2-linux-ee023c30d7d6bc21d3a85f3625a30209bdcc41e6.tar.gz
kernel-qcow2-linux-ee023c30d7d6bc21d3a85f3625a30209bdcc41e6.tar.xz
kernel-qcow2-linux-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)