Skip to contentSkip to conversation

unexport sys_{open,read}

PATCH In review Adrian Bunk 2 participants 2 messages Jan 28, 2008 – Jan 29, 2008 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 unexport sys_{open,read}

Now that they are unused we can finally unexport sys_{open,read}.

---

 fs/open.c       |    1 -
 fs/read_write.c |    1 -
 2 files changed, 2 deletions(-)

eb86553917b5d7dc5c22e584145360ad0460372e

fs/open.c +0 -1
index 4932b4d..21acf85 100644
@@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode)
 	prevent_tail_call(ret);
 	return ret;
 }
-EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */
 
 asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
 			   int mode)
fs/read_write.c +0 -1
index c4d3d17..af2c82f 100644
@@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count)
 
 	return ret;
 }
-EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */
 
 asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
 {
#1 lore raw
Quoted 3 lines · Adrian Bunk

Now that they are unused we can finally unexport sys_{open,read}.

Linus. any reason this is not in?

Quoted 32 lines
 fs/open.c       |    1 -
 fs/read_write.c |    1 -
 2 files changed, 2 deletions(-)

eb86553917b5d7dc5c22e584145360ad0460372e

fs/open.c +0 -1
index 4932b4d..21acf85 100644
@@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode)
 	prevent_tail_call(ret);
 	return ret;
 }
-EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */
 
 asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
 			   int mode)
fs/read_write.c +0 -2
index c4d3d17..af2c82f 100644
@@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count)
 
 	return ret;
 }
-EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */
 
 asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
 {
 
--
Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

---end quoted text---