On Sun, Nov 10, 2013 at 10:23 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > On Sun, Nov 10, 2013 at 10:10:52PM +0530, Rashika Kheria wrote: >> On Sun, Nov 10, 2013 at 10:01 PM, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: >> > On Sun, Nov 10, 2013 at 09:42:32PM +0530, Rashika Kheria wrote: >> >> This patch fixes the bug in reset_store caused by accessing NULL pointer. >> >> >> >> The bdev gets its value from bdget_disk() which could fail when memory >> >> pressure is severe and hence can return NULL because allocation of >> >> inode in bdget could fail. >> >> >> >> Hence, this patch introduces a check for bdev to prevent reference to a >> >> NULL pointer in the later part of the code. It also removes unnecessary >> >> check of bdev for fsync_bdev(). >> >> >> >> Cc: stable@xxxxxxxxxxxxxxx >> >> Acked-by: Jerome Marchand <jmarchan@xxxxxxxxxx> >> >> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx> >> >> --- >> >> drivers/staging/zram/zram_drv.c | 6 ++++-- >> >> 1 file changed, 4 insertions(+), 2 deletions(-) >> > >> > I'm still confused, what happened to patch 2/2? >> > >> > Can you just send me the patches, in an ordered series, of _all_ of the >> > outstanding zram patches. That way I know I got them all, as it is, I'm >> > still not sure as it seems that I am missing some, and the v10 patch is >> > not in any specific order. >> > >> > thanks, >> > >> > greg k-h >> > >> >> Sorry for the confusion. But, you just have to apply v10 of this >> series. The rest of the patches have already been applied. > > Then why did you sent the v9 1/2 patch? > > still confused... It was wrong on my part. I overlooked that it was already applied. Sorry, -- Rashika Kheria B.Tech CSE IIIT Hyderabad -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html