projects
/
profile
/
wearable
/
platform
/
kernel
/
linux-4.9-exynos9110.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c7f5b
)
fs/befs/linuxvfs.c:befs_iget(): remove unneeded raw_inode initialization to NULL
author
Salah Triki
<salah.triki@acm.org>
Mon, 23 May 2016 23:22:46 +0000
(16:22 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000
(17:04 -0700)
raw_inode is reinitialized to bh->b_data so no need to init it
with NULL in the beginning of befs_iget()
Link:
http://lkml.kernel.org/r/0a66baaaacb6b7e5fcea5b31b57b649261152281.1462842887.git.salah.triki@acm.org
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/befs/linuxvfs.c
patch
|
blob
|
history
diff --git
a/fs/befs/linuxvfs.c
b/fs/befs/linuxvfs.c
index
4103154
..
7112140
100644
(file)
--- a/
fs/befs/linuxvfs.c
+++ b/
fs/befs/linuxvfs.c
@@
-295,7
+295,7
@@
static void init_once(void *foo)
static struct inode *befs_iget(struct super_block *sb, unsigned long ino)
{
struct buffer_head *bh;
- befs_inode *raw_inode
= NULL
;
+ befs_inode *raw_inode;
struct befs_sb_info *befs_sb = BEFS_SB(sb);
struct befs_inode_info *befs_ino = NULL;
struct inode *inode;