projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1e5f8
)
fs/buffer.c: remove duplicated assignment on b_private
author
Namhyung Kim
<namhyung@gmail.com>
Sat, 16 Oct 2010 03:40:33 +0000
(12:40 +0900)
committer
Al 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/buffer.c
b/fs/buffer.c
index a7b8f3c59a4e85946472774b1c1e6fdaf655d2aa..74566c6f67b17816dc89c78be8a26d1507454e74 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 */