projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d882626
)
fs/buffer.c: remove duplicated assignment to b_private
author
Namhyung Kim
<namhyung@gmail.com>
Tue, 26 Oct 2010 21:22:31 +0000
(14:22 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:13 +0000
(16:52 -0700)
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>
fs/buffer.c
patch
|
blob
|
history
diff --git
a/fs/buffer.c
b/fs/buffer.c
index ec21a92e08b4f5855b66dd7608bdc5f8d9a5c1dc..8d595ab2aed1a75bb79a3450ff6205d88dd359ba 100644
(file)
--- a/
fs/buffer.c
+++ b/
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 */