]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ocfs2/xattr: Fix a bug in xattr allocation estimation
authorTao Ma <tao.ma@oracle.com>
Wed, 19 Nov 2008 08:48:41 +0000 (16:48 +0800)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:55 +0000 (08:36 -0800)
commit97aff52ae13d3c11a074bbbfc80ad0b59cb8cdeb
tree2ac3992a8dfe6c7b94653f47548975503c3998f4
parent53ef99cad9878f02f27bb30bc304fc42af8bdd6e
ocfs2/xattr: Fix a bug in xattr allocation estimation

When we extend one xattr's value to a large size, the old value size might
be smaller than the size of a value root. In those cases, we still need to
guess the metadata allocation.

Reported-by: Tiger Yang <tiger.yang@oracle.com>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/xattr.c