summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorEric Paris2009-12-04 21:47:36 +0100
committerAl Viro2009-12-16 18:16:45 +0100
commite81e3f4dca6c54116a24aec217d2c15c6f58ada5 (patch)
tree4cbaf8b4573a4f4dac2dafc2bebffe398a984b3d /fs/namei.c
parentSanitize exec_permission_lite() (diff)
downloadkernel-qcow2-linux-e81e3f4dca6c54116a24aec217d2c15c6f58ada5.tar.gz
kernel-qcow2-linux-e81e3f4dca6c54116a24aec217d2c15c6f58ada5.tar.xz
kernel-qcow2-linux-e81e3f4dca6c54116a24aec217d2c15c6f58ada5.zip
fs: move get_empty_filp() deffinition to internal.h
All users outside of fs/ of get_empty_filp() have been removed. This patch moves the definition from the include/ directory to internal.h so no new users crop up and removes the EXPORT_SYMBOL. I'd love to see open intents stop using it too, but that's a problem for another day and a smarter developer! Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 8c8b379b94a4..1fc038b117be 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -35,6 +35,8 @@
#include <linux/fs_struct.h>
#include <asm/uaccess.h>
+#include "internal.h"
+
#define ACC_MODE(x) ("\000\004\002\006"[(x)&O_ACCMODE])
/* [Feb-1997 T. Schoebel-Theuer]