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:
f9425ad
)
GFS2: Remove redundant metadata block type check
author
Bob Peterson
<rpeterso@redhat.com>
Fri, 27 Apr 2012 12:40:16 +0000
(08:40 -0400)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Tue, 8 May 2012 15:18:55 +0000
(16:18 +0100)
This patch removes a redundant metadata block check. See description below.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glops.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/glops.c
b/fs/gfs2/glops.c
index cd3e6fbf111b31b229586fa7e8d0d5207ec58afd..4bdcf3784187863b0d7f2379981bc9aad1908495 100644
(file)
--- a/
fs/gfs2/glops.c
+++ b/
fs/gfs2/glops.c
@@
-378,11
+378,6
@@
int gfs2_inode_refresh(struct gfs2_inode *ip)
if (error)
return error;
- if (gfs2_metatype_check(GFS2_SB(&ip->i_inode), dibh, GFS2_METATYPE_DI)) {
- brelse(dibh);
- return -EIO;
- }
-
error = gfs2_dinode_in(ip, dibh->b_data);
brelse(dibh);
clear_bit(GIF_INVALID, &ip->i_flags);