diff options
author | David Rientjes <rientjes@google.com> | 2011-05-12 13:10:49 -0700 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-05-17 22:19:00 +0300 |
commit | bd07d87fd4b8a6af9820544b6bc6c37215d6f8ad (patch) | |
tree | 521042275e3bf152056b5683f637f5750ccf9edb /fs/fcntl.c | |
parent | 1393d9a1857471f816d0be1ccc1d6433a86050f6 (diff) |
slub: avoid label inside conditional
Jumping to a label inside a conditional is considered poor style,
especially considering the current organization of __slab_alloc().
This removes the 'load_from_page' label and just duplicates the three
lines of code that it uses:
c->node = page_to_nid(page);
c->page = page;
goto load_freelist;
since it's probably not worth making this a separate helper function.
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions