fs/buffer.c: remove duplicated assignment on b_private
authorNamhyung Kim <namhyung@gmail.com>
Sat, 16 Oct 2010 03:40:33 +0000 (12:40 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:18:22 +0000 (21:18 -0400)
bh->b_private is initialized within init_buffer(), thus the
assignment should be redundant. Remove it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/buffer.c

index a7b8f3c59a4e85946472774b1c1e6fdaf655d2aa..74566c6f67b17816dc89c78be8a26d1507454e74 100644 (file)
@@ -905,7 +905,6 @@ try_again:
 
                bh->b_state = 0;
                atomic_set(&bh->b_count, 0);
-               bh->b_private = NULL;
                bh->b_size = size;
 
                /* Link the buffer to its page */