Skip to contentSkip to conversation

fs/super.c: unexport user_get_super

RFC PATCH In review Adrian Bunk 2 participants 2 messages Aug 22, 2005 – Aug 23, 2005 VFS

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 fs/super.c: unexport user_get_super

I didn't find any modular usage in the kernel.

---

This patch was already sent on:
- 30 May 2005
- 13 May 2005
- 1 May 2005
- 23 Apr 2005

fs/super.c renamed from fs/super.c.old +0 -2
@@ -467,8 +467,6 @@
 	return NULL;
 }
 
-EXPORT_SYMBOL(user_get_super);
-
 asmlinkage long sys_ustat(unsigned dev, struct ustat __user * ubuf)
 {
         struct super_block *s;
#1 lore raw
Quoted 1 line · Adrian Bunk

I didn't find any modular usage in the kernel.

And there shouldn't be one either. This is really just for some syscalls, everything else should use get_super based on a struct block_device. If there's any caller using this wrongly in out of tree modules they can be switched to bdget + get_super trivially (fixing their code would be even better).

Quoted 23 lines

---

This patch was already sent on:
- 30 May 2005
- 13 May 2005
- 1 May 2005
- 23 Apr 2005

fs/super.c renamed from fs/super.c.old +0 -3
@@ -467,8 +467,6 @@
 	return NULL;
 }
 
-EXPORT_SYMBOL(user_get_super);
-
 asmlinkage long sys_ustat(unsigned dev, struct ustat __user * ubuf)
 {
         struct super_block *s;
 
-
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---