Skip to contentSkip to conversation

unexport vfs_{,f,l}stat

PATCH In review Adrian Bunk 2 participants 2 messages Apr 23, 2008 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unexport vfs_{,f,l}stat

With the removal of the Solaris binary emulation the exports of vfs_{,f,l}stat became unused.

---

 fs/stat.c |    6 ------
 1 file changed, 6 deletions(-)

857d5d30618857faae40a965310f22a53add6155 diff --git a/fs/stat.c b/fs/stat.c index 9cf41f7..5c8f0ec 100644

fs/stat.c +0 -6
@@ -73,8 +73,6 @@ int vfs_stat(char __user *name, struct kstat *stat)
 	return vfs_stat_fd(AT_FDCWD, name, stat);
 }
 
-EXPORT_SYMBOL(vfs_stat);
-
 int vfs_lstat_fd(int dfd, char __user *name, struct kstat *stat)
 {
 	struct nameidata nd;
@@ -93,8 +91,6 @@ int vfs_lstat(char __user *name, struct kstat *stat)
 	return vfs_lstat_fd(AT_FDCWD, name, stat);
 }
 
-EXPORT_SYMBOL(vfs_lstat);
-
 int vfs_fstat(unsigned int fd, struct kstat *stat)
 {
 	struct file *f = fget(fd);
@@ -107,8 +103,6 @@ int vfs_fstat(unsigned int fd, struct kstat *stat)
 	return error;
 }
 
-EXPORT_SYMBOL(vfs_fstat);
-
 #ifdef __ARCH_WANT_OLD_STAT
 
 /*