Hi,
please ignore the last revision of this patch. There were some places where
semantics where changed instead of just presentation. Also the bd_claim()
'fixup' was reverted, due to a misunderstanding of the code.
This patch replaces some funky codepaths in fs/block_dev.c with cleaner
Hi,
On Sun, Jun 17, 2007 at 11:38:55AM +0200, Bjoern Steinbrink wrote:
[SNIP]
> > - /* first decide result */
> > - if (bdev->bd_holder == holder)
> > - res = 0; /* already a holder */
> > - else if (bdev->bd_holder != NULL)
> > - res = -EBUSY;/* held by
On 2007.06.15 15:46:32 +0200, Johannes Weiner wrote:
> Hi,
>
> Andrew, I promised it [1], here goes. Patched against Linus' git-tree.
>
> [1] http://lkml.org/lkml/2007/3/22/226
>
> This patch replaces some obscure code-paths in fs/block_dev.c with more
> readable versions.
>
> Signed-off-by:
On 2007.06.15 15:46:32 +0200, Johannes Weiner wrote:
Hi,
Andrew, I promised it [1], here goes. Patched against Linus' git-tree.
[1] http://lkml.org/lkml/2007/3/22/226
This patch replaces some obscure code-paths in fs/block_dev.c with more
readable versions.
Signed-off-by: Johannes
Hi,
On Sun, Jun 17, 2007 at 11:38:55AM +0200, Bjoern Steinbrink wrote:
[SNIP]
- /* first decide result */
- if (bdev-bd_holder == holder)
- res = 0; /* already a holder */
- else if (bdev-bd_holder != NULL)
- res = -EBUSY;/* held by someone else */
Hi,
please ignore the last revision of this patch. There were some places where
semantics where changed instead of just presentation. Also the bd_claim()
'fixup' was reverted, due to a misunderstanding of the code.
This patch replaces some funky codepaths in fs/block_dev.c with cleaner
Hi,
Andrew, I promised it [1], here goes. Patched against Linus' git-tree.
[1] http://lkml.org/lkml/2007/3/22/226
This patch replaces some obscure code-paths in fs/block_dev.c with more
readable versions.
Signed-off-by: Johannes Weiner <[EMAIL PROTECTED]>
diff --git a/fs/block_dev.c
Hi,
Andrew, I promised it [1], here goes. Patched against Linus' git-tree.
[1] http://lkml.org/lkml/2007/3/22/226
This patch replaces some obscure code-paths in fs/block_dev.c with more
readable versions.
Signed-off-by: Johannes Weiner [EMAIL PROTECTED]
diff --git a/fs/block_dev.c
8 matches
Mail list logo