]> Pileus Git - ~andy/linux/blobdiff - kernel/cred.c
KVM: x86 emulator: Remove unused arg from writeback()
[~andy/linux] / kernel / cred.c
index 2343c132c5a7f45556bf156388705ac921fa84e0..5557b55048df1a35fff09933a274c9a5e32b7084 100644 (file)
@@ -741,6 +741,12 @@ int set_create_files_as(struct cred *new, struct inode *inode)
 }
 EXPORT_SYMBOL(set_create_files_as);
 
+struct user_namespace *current_user_ns(void)
+{
+       return _current_user_ns();
+}
+EXPORT_SYMBOL(current_user_ns);
+
 #ifdef CONFIG_DEBUG_CREDENTIALS
 
 bool creds_are_invalid(const struct cred *cred)