]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: Only allow mounts in the initial network namespace
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 31 Jan 2013 10:09:50 +0000 (02:09 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Feb 2013 11:19:23 +0000 (03:19 -0800)
commit289ef66b8e0ba046e40e5dbb59c1c79ee31445f2
tree45b6b0b51fd59806aa1e8836a1f563918b02eab4
parentc7b87de12a88bb982d63a1ac4ae82c239a843b93
ceph: Only allow mounts in the initial network namespace

Today ceph opens tcp sockets from a delayed work callback.  Delayed
work happens from kernel threads which are always in the initial
network namespace.   Therefore fail early if someone attempts
to mount a ceph filesystem from something other than the initial
network namespace.

Cc: Sage Weil <sage@inktank.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
net/ceph/ceph_common.c