fs: namespace preemption fix
authorThomas Gleixner <tglx@linutronix.de>
Sun, 19 Jul 2009 13:44:27 +0000 (08:44 -0500)
committerClark Williams <williams@redhat.com>
Wed, 15 Feb 2012 16:32:56 +0000 (10:32 -0600)
commita203c35b0af3ae1aacfc531e0df74fce12b87d86
treed9cdce4f1bb449101473df24b08bde3217ec22c4
parentf06a157098c9261b29f023e6e6e262433d241705
fs: namespace preemption fix

On RT we cannot loop with preemption disabled here as
mnt_make_readonly() might have been preempted. We can safely enable
preemption while waiting for MNT_WRITE_HOLD to be cleared. Safe on !RT
as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
fs/namespace.c