Re: [PATCH] libdiskfs: fix deadlock

2014-06-23 Thread Samuel Thibault
Justus Winter, le Sun 22 Jun 2014 15:45:42 +0200, a écrit : > Previously, libdiskfs would deadlock on contention on renamedirlock > due to the lock being taken spuriously. > > Found using fsstress from the Linux Test Project. Wow, good spot! Ack! > * libdiskfs/dir-rename.c (diskfs_S_dir_rename)

[PATCH] libdiskfs: fix deadlock

2014-06-22 Thread Justus Winter
Previously, libdiskfs would deadlock on contention on renamedirlock due to the lock being taken spuriously. Found using fsstress from the Linux Test Project. * libdiskfs/dir-rename.c (diskfs_S_dir_rename): Remove spurious pthread_mutex_lock. --- libdiskfs/dir-rename.c | 1 - 1 file changed, 1 de