瀏覽代碼

fs/buffer.c: remove duplicated assignment on b_private

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>
Namhyung Kim 14 年之前
父節點
當前提交
8358e7d71e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      fs/buffer.c

+ 0 - 1
fs/buffer.c

@@ -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 */