]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/dcache.c
Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[net-next-2.6.git] / fs / dcache.c
index d96047b4a633a86cb7ae711cb29362ac6cda061a..c8c78ba078271163f567c26045afff6cf0b5cd71 100644 (file)
@@ -590,6 +590,8 @@ static void prune_dcache(int count)
                        up_read(&sb->s_umount);
                }
                spin_lock(&sb_lock);
+               /* lock was dropped, must reset next */
+               list_safe_reset_next(sb, n, s_list);
                count -= pruned;
                __put_super(sb);
                /* more work left to do? */