diff options
author | Tao Ma <tao.ma@oracle.com> | 2010-07-09 14:53:11 +0800 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-07-12 13:57:24 -0700 |
commit | a78f9f4668949a6588b8872f162e86685c63d023 (patch) | |
tree | e4757b666f2c51f3e2f596a921d4f9fe13c2dbc1 /init | |
parent | 0a463b74e7e6856b24e613de2b85237c6e11890b (diff) |
ocfs2: make xattr extension work with new local alloc reservation.
The old ocfs2_xattr_extent_allocation is too optimistic about
the clusters we can get. So actually if the file system is
too fragmented, ocfs2_add_clusters_in_btree will return us
with EGAIN and we need to allocate clusters once again.
So this patch change it to a while loop so that we can allocate
clusters until we reach clusters_to_add.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Cc: stable@kernel.org
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions