Skip to contentSkip to conversation

Bug 603827 - GFS2: BUG in gfs2_adjust_quota

PATCH New Abhijith Das 2 participants 2 messages Jul 4, 2010 – Jul 5, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 648608147.748451278221467098.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com

#1 lore raw

PATCH 1/1 Bug 603827 - GFS2: BUG in gfs2_adjust_quota

This patch is for inclusion upstream.

HighMem pages on i686 do not get mapped to the buffer_heads and this was causing a NULL pointer dereference when we were trying to memset page buffers to zero.
We now use zero_user() that kmaps the page and directly manipulates page data. This patch also fixes a boundary condition that was incorrect.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz603827.patch
Type: text/x-patch
Size: 850 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20100704/b4ac18c6/attachment.bin>

#2 lore raw

PATCH 1/1 Bug 603827 - GFS2: BUG in gfs2_adjust_quota

Hi,

Quoted 9 lines · Abhijith Das

This patch is for inclusion upstream.

HighMem pages on i686 do not get mapped to the buffer_heads and this was causing a NULL pointer dereference when we were trying to memset page buffers to zero.
We now use zero_user() that kmaps the page and directly manipulates page data. This patch also fixes a boundary condition that was incorrect.

Now in the -nmw git tree. Thanks,

Steve.