2.4.7-ac4/ac5 dies due to double unlock
PATCH 1/1 2.4.7-ac4/ac5 dies due to double unlock
Hi Alan,
double-unlock on sb_lock in try_to_sync_unused inodes whentry_to_sync_unused_list() returns 0... It is reliably triggered by xmms loading mp3 tags from vfat...
Originally from 2.4.7-ac4, but still unfixed in -ac5.
Thanks,
Petr Vandrovec [email protected]
fs/inode.c +1 -1
@@ -412,7 +412,7 @@continue ;spin_unlock (&sb_lock);if (!try_to_sync_unused_list (&sb->s_dirty)) -break ; +return ;spin_lock (&sb_lock); }spin_unlock (&sb_lock);
Quoted 6 lines · Petr Vandrovec
Hi Alan,
double-unlock onsb_lockintry_to_sync_unusedinodes whentry_to_sync_unused_list()returns 0... It is reliably triggered by xmms loading mp3 tags from vfat...Originally from 2.4.7-ac4, but still unfixed in -ac5.
Thanks for spotting. Hell knows where that break; had come from - in namespaces-patch we do return; in that place and that what should've been in the splitup that went into -ac. My apologies...
fs/inode.c line 418
Quoted 12 lines
diff -urdN
linux/fs/inode.clinux/fs/inode.cfs/inode.c +1
-1@@ -412,7 +412,7 @@continue ;spin_unlock (&sb_lock);if (!try_to_sync_unused_list (&sb->s_dirty)) -break ; +return ;spin_lock (&sb_lock); }spin_unlock (&sb_lock);
Yup. Alan, apply it, please.