diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-03-03 11:26:27 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-26 07:47:58 -0700 |
commit | 53d737879cbbe3886e26f155007dbc148aec1cb6 (patch) | |
tree | bbc9fbcb42aded1607761d371dd9608fe78b5c0a /fs/9p | |
parent | 4cf04e523cb863e6d8cc59a25ff7836917f39c45 (diff) |
ocfs2: Change bg_chain check for ocfs2_validate_gd_parent.
commit 78c37eb0d5e6a9727b12ea0f1821795ffaa66cfe upstream.
In ocfs2_validate_gd_parent, we check bg_chain against the
cl_next_free_rec of the dinode. Actually in resize, we have
the chance of bg_chain == cl_next_free_rec. So add some
additional condition check for it.
I also rename paramter "clean_error" to "resize", since the
old one is not clearly enough to indicate that we should only
meet with this case in resize.
btw, the correpsonding bug is
http://oss.oracle.com/bugzilla/show_bug.cgi?id=1230.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions