diff options
author | Rajesh Joseph <rjoseph@redhat.com> | 2014-02-20 19:22:23 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-07 03:24:29 -0800 |
commit | 2e58513506919899115935c2ca6b2359fdeff7b8 (patch) | |
tree | efdeb54eeb543716d0aeb1c22d690487d8f8dd62 /rpc/rpc-lib | |
parent | 1aea4bdc774950f2d313bc541aaccf6d313aac88 (diff) |
gluster/snapshot: Create missing backend snapshot folder
Snapshot volume bricks are mounted under /var/run/gluster/snaps
folder. In the latest machines /var/run is a symbolic link to
/run folder. In such cases if we use /var/run then there would
be mismatch between mtab entry for the mount and the folder
where we actually mount.
Therefore this patch will get the correct folder and also create
it if the folder is missing.
Change-Id: I267aa7f3e171b486c5b3bb2a9f88cbd4be0e47ea
BUG: 1072253
Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-on: http://review.gluster.org/7140
Diffstat (limited to 'rpc/rpc-lib')
0 files changed, 0 insertions, 0 deletions