summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2012-04-08 11:40:48 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-12 22:18:57 -0700
commite46a57fda716c00b7c490be74485863c80d6f7b4 (patch)
tree961e9a30282f40db469d481b4b036912ab4de512 /libglusterfs
parentea8378299e4d9ae5a8d296feb1d16950d07173de (diff)
features/quota: don't adjust statfs buffer if size used is already
greater than available limit. members f_bfree and f_bavail of struct statfs are unsigned types. A negative value assigned to them is interpreted as some positive number and resulting in incorrect output of df output. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Change-Id: I4d3d38b9bb6f675958ee38ad4d6c71ebcf4bb9a1 BUG: 773530 Reviewed-on: http://review.gluster.com/3102 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions