diff options
Diffstat (limited to 'openvz-sources/022.078-r3/9035_diff-vzdq-fmt-quota-20060608.patch')
-rw-r--r-- | openvz-sources/022.078-r3/9035_diff-vzdq-fmt-quota-20060608.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openvz-sources/022.078-r3/9035_diff-vzdq-fmt-quota-20060608.patch b/openvz-sources/022.078-r3/9035_diff-vzdq-fmt-quota-20060608.patch new file mode 100644 index 0000000..0cb0e88 --- /dev/null +++ b/openvz-sources/022.078-r3/9035_diff-vzdq-fmt-quota-20060608.patch @@ -0,0 +1,13 @@ +--- linux-2.6.8-022stab077-quotaoops/fs/dquot.c.orig 2004-08-14 09:37:26.000000000 +0400 ++++ linux-2.6.8-022stab077-quotaoops/fs/dquot.c 2006-06-08 03:20:48.000000000 +0400 +@@ -152,7 +152,9 @@ static struct quota_format_type *find_qu + struct quota_format_type *actqf; + + spin_lock(&dq_list_lock); +- for (actqf = quota_formats; actqf && actqf->qf_fmt_id != id; actqf = actqf->qf_next); ++ for (actqf = quota_formats; ++ actqf && (actqf->qf_fmt_id != id || actqf->qf_ops == NULL); ++ actqf = actqf->qf_next); + if (!actqf || !try_module_get(actqf->qf_owner)) { + int qm; + |