2011-11-07 08:20:29

by Richard Weinberger

[permalink] [raw]
Subject: [PATCH 1/3] ext4: Remove kernel_lock annotations

The BKL is gone, these annotations are useless.

Signed-off-by: Richard Weinberger <[email protected]>
---
fs/ext4/super.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 9953d80..92d99e4 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3099,8 +3099,6 @@ static void ext4_destroy_lazyinit_thread(void)
}

static int ext4_fill_super(struct super_block *sb, void *data, int silent)
- __releases(kernel_lock)
- __acquires(kernel_lock)
{
char *orig_data = kstrdup(data, GFP_KERNEL);
struct buffer_head *bh;
--
1.7.7



2011-11-07 15:53:26

by Ted Ts'o

[permalink] [raw]
Subject: Re: [PATCH 1/3] ext4: Remove kernel_lock annotations

On Mon, Nov 07, 2011 at 09:22:28AM +0100, Richard Weinberger wrote:
> The BKL is gone, these annotations are useless.
>
> Signed-off-by: Richard Weinberger <[email protected]>

Thanks, applied to the ext4 tree.

- Ted