On 7/19/07, rae l <[EMAIL PROTECTED]> wrote:
On 7/19/07, Paul Clements <[EMAIL PROTECTED]> wrote:
> Could you name "n" as "tmp" (as in the previous code) so that it's clear
> that's only a temporary variable. Other than that, this looks good.
Sure. I just use the name "n" as in the declaration
On 7/19/07, Paul Clements <[EMAIL PROTECTED]> wrote:
Could you name "n" as "tmp" (as in the previous code) so that it's clear
that's only a temporary variable. Other than that, this looks good.
Sure. I just use the name "n" as in the declaration of
list_for_each_entry_safe in the header file
Denis Cheng wrote:
Thus the traverse of the loop may delete nodes, use the safe version.
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]>
---
drivers/block/nbd.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index
Thus the traverse of the loop may delete nodes, use the safe version.
Signed-off-by: Denis Cheng <[EMAIL PROTECTED]>
---
drivers/block/nbd.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index c129510..86639c0 100644
---
Thus the traverse of the loop may delete nodes, use the safe version.
Signed-off-by: Denis Cheng [EMAIL PROTECTED]
---
drivers/block/nbd.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index c129510..86639c0 100644
---
Denis Cheng wrote:
Thus the traverse of the loop may delete nodes, use the safe version.
Signed-off-by: Denis Cheng [EMAIL PROTECTED]
---
drivers/block/nbd.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index
On 7/19/07, Paul Clements [EMAIL PROTECTED] wrote:
Could you name n as tmp (as in the previous code) so that it's clear
that's only a temporary variable. Other than that, this looks good.
Sure. I just use the name n as in the declaration of
list_for_each_entry_safe in the header file
On 7/19/07, rae l [EMAIL PROTECTED] wrote:
On 7/19/07, Paul Clements [EMAIL PROTECTED] wrote:
Could you name n as tmp (as in the previous code) so that it's clear
that's only a temporary variable. Other than that, this looks good.
Sure. I just use the name n as in the declaration of
8 matches
Mail list logo