[PATCH 0/2 v2] Fix deadlock with suspend & quotas

From: Jan Kara
Date: Fri Feb 10 2012 - 05:03:22 EST



Hello Al,

This is my attempt to fix deadlock in quota code when filesystem is
suspended and someone tries to modify quota e.g. via Q_SETQUOTA command. I
added a VFS function to get a superblock reference and return only after
the filesystem is thawed.

Changes since v1:
* wait for frozen fs really only when requested
* updated some comments & names

Honza
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/