summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmast.c
diff options
context:
space:
mode:
authorTao Ma2010-05-10 12:09:47 +0200
committerJoel Becker2010-05-19 01:41:21 +0200
commitd5a7df0649fa6a1e7800785d760e2c7d7a3204de (patch)
tree35df1668e3d68dd71789e88bd9c01f914a811607 /fs/ocfs2/dlm/dlmast.c
parentMerge branch 'discontig-bg' of git://oss.oracle.com/git/tma/linux-2.6 into oc... (diff)
downloadkernel-qcow2-linux-d5a7df0649fa6a1e7800785d760e2c7d7a3204de.tar.gz
kernel-qcow2-linux-d5a7df0649fa6a1e7800785d760e2c7d7a3204de.tar.xz
kernel-qcow2-linux-d5a7df0649fa6a1e7800785d760e2c7d7a3204de.zip
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 <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmast.c')
0 files changed, 0 insertions, 0 deletions