projects
/
platform
/
kernel
/
linux-starfive.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
ec21a92
..
8d595ab
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 */