* Andrew Morton <[email protected]> wrote:
> > Revert bd_mount_mutex back to a semaphore so that xfs_freeze -f
> > /mnt/newtest; xfs_freeze -u /mnt/newtest works safely and doesn't
> > produce lockdep warnings.
>
> Sad. The alternative would be to implement
> mutex_unlock_dont_warn_if_a_different_task_did_it(). Ingo? Possible?
i'd like to avoid it as much as i'd like to avoid having to add
spin_unlock_dont_warn_if_a_different_task_did_it(). Unlocking by a
different task is usually a sign of messy locking and bugs lurking. Is
it really true that XFS's use of bd_mount_mutex is safe and justified?
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]