Abhijith Das 7e619bc3e6 GFS2: Fix writing to non-page aligned gfs2_quota structures
This is the upstream fix for this bug. This patch differs
from the RHEL5 fix (Red Hat bz #555754) which simply writes to the 8-byte
value field of the quota. In upstream quota code, we're
required to write the entire quota (88 bytes) which can be split
across a page boundary. We check for such quotas, and read/write
the two parts from/to the corresponding pages holding these parts.

With this patch, I don't see the bug anymore using the reproducer
in Red Hat bz 555754. I successfully ran a couple of simple tests/mounts/
umounts and it doesn't seem like this patch breaks anything else.

Signed-off-by: Abhi Das <adas@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2010-05-10 13:07:11 +01:00
..
2009-12-16 12:16:49 -05:00
2009-12-03 11:47:35 +00:00
2010-03-29 14:29:17 +01:00
2010-03-29 14:29:17 +01:00
2010-04-14 16:48:05 +01:00
2010-04-14 16:48:05 +01:00
2008-06-27 09:39:44 +01:00
2010-04-14 16:48:05 +01:00
2010-03-01 14:07:37 +00:00
2010-03-01 14:07:37 +00:00
2010-05-06 11:03:29 +01:00
2010-04-14 16:48:05 +01:00
2010-04-14 16:48:05 +01:00
2010-03-09 10:08:36 +00:00
2010-05-06 11:03:29 +01:00
2010-05-05 09:39:18 +01:00
2010-05-05 09:39:18 +01:00
2008-03-31 10:39:54 +01:00
2010-03-29 14:26:49 +01:00
2009-08-26 18:51:04 +01:00
2010-05-05 09:39:18 +01:00
2010-03-03 13:00:22 -05:00
2009-12-03 11:58:47 +00:00
2009-05-19 10:01:18 +01:00
2010-04-14 16:48:05 +01:00
2010-05-06 11:03:29 +01:00
2010-05-06 11:03:29 +01:00
2009-01-05 07:39:13 +00:00
2010-05-05 09:39:18 +01:00
2010-03-01 14:07:37 +00:00
2010-03-01 14:07:37 +00:00
2010-01-08 13:42:59 +00:00
2009-12-16 12:16:49 -05:00