]> Pileus Git - ~andy/linux/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)
commiteea553c21fbfa486978c82525ee8256239d4f921
tree45b6b0b51fd59806aa1e8836a1f563918b02eab4
parentbc1b69ed22a704fb1cc83d75b2eb46508a06c820
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