diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-04-15 07:00:42 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-15 23:33:18 -0700 |
commit | 2479f442ca8f9e2dd23988e1f2dc20238443a769 (patch) | |
tree | 681fe5cc88d9007210b0a08c2b2f0ddb3e588e25 /xlators/mgmt/glusterd/src/glusterd-volgen.c | |
parent | 49b796949c9a3cc9d5a541503e03589fb7bcbde2 (diff) |
mgmt/glusterd: handle error condition in quota fs crawl
Quota enable starts a crawl on the maintenance mount point, but if the chdir to
the mount point fails it will start the crawl on '/'. So the child should exit
with EXIT_FAILURE when the chdir fails.
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2770 (Handle error cases in quota fs crawl)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2770
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
0 files changed, 0 insertions, 0 deletions