diff options
author | Tao Ma <[email protected]> | 2010-05-10 18:09:47 +0800 |
---|---|---|
committer | Joel Becker <[email protected]> | 2010-05-18 16:41:21 -0700 |
commit | d5a7df0649fa6a1e7800785d760e2c7d7a3204de (patch) | |
tree | 35df1668e3d68dd71789e88bd9c01f914a811607 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 41841b0bcea8af7f3bff8b2a23d542b94d9c1bb1 (diff) |
ocfs2: Reset xattr value size after xa_cleanup_value_truncate().
In ocfs2_prepare_xattr_entry, if we fail to grow an existing value,
xa_cleanup_value_truncate() will leave the old entry in place. Thus, we
reset its value size. However, if we were allocating a new value, we
must not reset the value size or we will BUG(). This resolves
oss.oracle.com bug 1247.
Signed-off-by: Tao Ma <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions