diff options
author | Amar Tumballi <amar@gluster.com> | 2009-06-05 17:51:59 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-17 16:04:32 -0700 |
commit | 9286a599f62289e8630ee28ea7da7308396d8fdf (patch) | |
tree | 4d9151ec5cb717718346ed7f01f9aa66bf2fcfaf /libglusterfs/src | |
parent | bb4e14b213a39e9d403be9790ef0a75388496dee (diff) |
change ha-statfs() to handle the case of loc->inode being NULL
This fix is needed in ha_statfs(), as the current code doesn't handle
the case of loc->inode being NULL, which is a valid case in statfs()
[Remember its stateless call]. This was causing 100% disk full logs in
distribute or nufa as the logic of checking whether the subvolumes have
enough disk space on them used to fail.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions