FSVol_CacheInvalidate ()

void  FSVol_CacheInvalidate (CPU_CHAR  *name_vol,
                             FS_ERR    *p_err)

File

Called from

Code enabled by

fs_vol.c

Application

FS_CFG_CACHE_EN

Invalidate cache on a volume.

Arguments

name_vol

Volume name.

p_err

Pointer to variable that will receive return error code from this function:

FS_ERR_NONE

Cache created.

FS_ERR_NAME_NULL

name_vol’ passed a NULL pointer.

FS_ERR_DEV_CHNGD

Device has changed.

FS_ERR_VOL_NO_CACHE

No cache assigned to volume.

FS_ERR_VOL_NOT_OPEN

Volume not open.

FS_ERR_VOL_NOT_MOUNTED

Volume not mounted.

Returned Value

None.

Notes/Warnings

None.