cifs: fix lock length calculation
[linux-2.6-microblaze.git] / fs / namespace.c
index 41461f5..e6a7e76 100644 (file)
@@ -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);
 }