[Patch] fix wrong return value in linux_disk_commit
From:
Hsuan-Ting
Subject:
[Patch] fix wrong return value in linux_disk_commit
Date:
Fri, 12 Nov 2010 14:34:40 +0800
Hi all,
I'm using "parted 2.3" and "kernel 2.6.15", I found the "_disk_sync_part_table" not return correct value in "linux_disk_commit" function (even kernel update successfully it still return "0", I see /proc/partitiond is updated).
But the return value of old "_kernel_reread_part_table" function is correct. So I revert 1223b9fc07859cb619c80dc057bd05458f9b5669 and do some refine as the following two patches.
Thanks, Hsuan-Ting.
From 7046cad06d1d7b0d1572e08c2365a1cdc0a854fe Mon Sep 17 00:00:00 2001 From: Hsuan-Ting <address@hidden> Date: Fri, 12 Nov 2010 11:58:30 +0800 Subject: [PATCH 1/2] kernel 2.6.15 still need this reread function to get the correct return value