]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ocfs2: Make xattr reflink work with new local alloc reservation.
authorTao Ma <tao.ma@oracle.com>
Fri, 9 Jul 2010 06:53:12 +0000 (14:53 +0800)
committerJoel Becker <joel.becker@oracle.com>
Mon, 12 Jul 2010 20:57:50 +0000 (13:57 -0700)
commit121a39bb00b421211f4f590c440a8f636d3ae807
tree18219c168c7b35e9d17a283f1217eb802f0d3d11
parenta78f9f4668949a6588b8872f162e86685c63d023
ocfs2: Make xattr reflink work with new local alloc reservation.

The new reservation code in local alloc has add the limitation
that the caller should handle the case that the local alloc
doesn't give use enough contiguous clusters. It make the old
xattr reflink code broken.

So this patch udpate the xattr reflink code so that it can
handle the case that local alloc give us one cluster at a time.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/xattr.c