[PATCH 2/2] fs: list init in the critical section

2018-09-10 Thread swkhack
the i_state init in the critical section,so as the list init should in it. Signed-off-by: swkhack --- fs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/inode.c b/fs/inode.c index 42f6d25..d3e07e4 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -905,8 +905,8 @@ struct

[PATCH 2/2] fs: list init in the critical section

2018-09-10 Thread swkhack
the i_state init in the critical section,so as the list init should in it. Signed-off-by: swkhack --- fs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/inode.c b/fs/inode.c index 42f6d25..d3e07e4 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -905,8 +905,8 @@ struct