]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
fs: namespace preemption fix
authorThomas Gleixner <tglx@linutronix.de>
Sun, 19 Jul 2009 13:44:27 +0000 (08:44 -0500)
committerMichal Sojka <sojka@merica.cz>
Sun, 13 Sep 2015 07:47:27 +0000 (09:47 +0200)
commit8554507594d6351f92a564cf4acdf6230e0280f6
tree1bda1733b50f212455198934b13b08bb58dce64c
parent96442a7c6530621148e4993afd054ad2fc874d18
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