glfs: method to hold common sequence of gfapi calls
glfs: method to hold common sequence of gfapi calls

This will avoid duplication/repetition of common gfapi code.

Signed-off-by: Prasanna Kumar Kalever <a78d8f98557446023f5b3ba9944d7be259a978a3@redhat.com>

lxbsz/tcmu-runner,JefferyHu/tcmu-runner,open-iscsi/tcmu-runner,agrover/tcmu-runner,liuy/tcmu-runner,open-iscsi/tcmu-runner,superlibj/tcmu-runner