projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'pull-18-rc1-work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git]
/
fs
/
namespace.c
diff --git
a/fs/namespace.c
b/fs/namespace.c
index 41461f55c0390294fd0aa571b897e32419878cf5..e6a7e769d25dd1a9bee1837dd3c8cf1933052e6e 100644
(file)
--- a/
fs/namespace.c
+++ b/
fs/namespace.c
@@
-1760,7
+1760,7
@@
out_unlock:
/*
* Is the caller allowed to modify his namespace?
*/
-
static inline
bool may_mount(void)
+bool may_mount(void)
{
return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN);
}