block start is before clear block end.
Signed-off-by: Tomasz Majchrzak
---
block/badblocks.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/block/badblocks.c b/block/badblocks.c
index 7be53cb..b2ffcc7 100644
--- a/block/badblocks.c
+++ b/block/badblocks.c
@@ -354,7
block start is before clear block end.
Signed-off-by: Tomasz Majchrzak
---
block/badblocks.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/block/badblocks.c b/block/badblocks.c
index 7be53cb..b2ffcc7 100644
--- a/block/badblocks.c
+++ b/block/badblocks.c
@@ -354,7
block start is before clear block end.
Signed-off-by: Tomasz Majchrzak
Acked-by: NeilBrown
---
block/badblocks.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/block/badblocks.c b/block/badblocks.c
index 7be53cb..b2ffcc7 100644
--- a/block/badblocks.c
+++ b/block
On Mon, Oct 10, 2016 at 03:32:58PM -0700, Dan Williams wrote:
> > On Tue, Sep 06 2016, Tomasz Majchrzak wrote:
> >> ---
> >> block/badblocks.c | 6 --
> >> 1 file changed, 4 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/block/badblock
rom sysfs file so it cannot be sure if the list available in sysfs
at the moment is complete (potential race with other badblocks reported
at the same time).
Signed-off-by: Tomasz Majchrzak
---
block/badblocks.c | 36
include/linux/badblocks.h | 1 +
blocks any more will be removed from the array
before it is unlocked.
Simplify state_show function by adding a separator at the end of each
string and overwrite last separator with new line.
Signed-off-by: Tomasz Majchrzak
Reviewed-by: Artur Paszkiewicz
--
pport case).
Signed-off-by: Tomasz Majchrzak
Reviewed-by: Artur Paszkiewicz
---
drivers/md/md.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/drivers/md/md.c b/drivers/md/md.c
index cc05236..ce585b7 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@
ear(struct badblocks *bb, sector_t s, int
> sectors)
> }
> }
>
> + badblocks_update_acked(bb);
> bb->changed = 1;
> out:
> write_sequnlock_irq(&bb->lock);
> --
> 2.9.3
Reviewed-by: Tomasz Majchrzak
Tested-by: Tomasz Majchrzak
--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html