lsm_mgmt.cpp: DRY, use common code to create fs,file,flags param
lsm_mgmt.cpp: DRY, use common code to create fs,file,flags param

V2: Fix compile error caused by stray 's', eg.  lsm_flags -> lsm_flag

Signed-off-by: Tony Asleson <1ef2d381aa56d512126ddaacc29e68136e4fdf55@redhat.com>

lazy404/libstoragemgmt,jumitche/libstoragemgmt,jumitche/libstoragemgmt,jumitche/libstoragemgmt,tasleson/libstoragemgmt,cathay4t/libstoragemgmt,tasleson/libstoragemgmt,cathay4t/libstoragemgmt,joehandzik/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,cathay4t/libstoragemgmt,libstorage/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,jumitche/libstoragemgmt,cathay4t/libstoragemgmt,lazy404/libstoragemgmt,tasleson/libstoragemgmt,tasleson/libstoragemgmt,lazy404/libstoragemgmt,jumitche/libstoragemgmt,libstorage/libstoragemgmt,HP-Scale-out-Storage/libstoragemgmt,libstorage/libstoragemgmt,tasleson/libstoragemgmt,libstorage/libstoragemgmt,cathay4t/libstoragemgmt,joehandzik/libstoragemgmt,lazy404/libstoragemgmt,joehandzik/libstoragemgmt,libstorage/libstoragemgmt,joehandzik/libstoragemgmt