Browse Source

fs/buffer.c: remove duplicated assignment to b_private

bh->b_private is initialized within init_buffer(), thus this assignment is
redundant.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Namhyung Kim 14 years ago
parent
commit
1df79da856
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/buffer.c

+ 0 - 1
fs/buffer.c

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