gpfs_hsm and tsmsm compile errors after aio changes

Christof Schmitt christof.schmitt at us.ibm.com
Wed Aug 1 15:56:36 MDT 2012


Commit 9dc78c90f3c952f5c01686da6601c47565016290 "s3-aio: Remove unused
VFS functions and more" removed the VFS aio_return_fn pointer. This
leads to compile errors in the vfs_gpfs_hsm_notify and vfs_tsmsm
modules:

modules/vfs_gpfs_hsm_notify.c:78: error: expected declaration specifiers 
or ?...? before ?SMB_STRUCT_AIOCB?
modules/vfs_gpfs_hsm_notify.c: In function 
?vfs_gpfs_hsm_notify_aio_return?:
modules/vfs_gpfs_hsm_notify.c:82: error: implicit declaration of function 
?SMB_VFS_NEXT_AIO_RETURN?
modules/vfs_gpfs_hsm_notify.c:82: error: ?aiocb? undeclared (first use in 
this function)
modules/vfs_gpfs_hsm_notify.c:82: error: (Each undeclared identifier is 
reported only once
modules/vfs_gpfs_hsm_notify.c:82: error: for each function it appears in.)
modules/vfs_gpfs_hsm_notify.c: At top level:
modules/vfs_gpfs_hsm_notify.c:102: error: unknown field ?aio_return_fn? 
specified in initializer
modules/vfs_gpfs_hsm_notify.c:103: warning: initialization from 
incompatible pointer type

modules/vfs_tsmsm.c:126: error: too few arguments to function 
?lp_parm_talloc_string?
modules/vfs_tsmsm.c: At top level:
modules/vfs_tsmsm.c:286: error: expected declaration specifiers or ?...? 
before ?SMB_STRUCT_AIOCB?
modules/vfs_tsmsm.c: In function ?tsmsm_aio_return?:
modules/vfs_tsmsm.c:290: error: implicit declaration of function 
?SMB_VFS_NEXT_AIO_RETURN?
modules/vfs_tsmsm.c:290: error: ?aiocb? undeclared (first use in this 
function)
modules/vfs_tsmsm.c:290: error: (Each undeclared identifier is reported 
only once
modules/vfs_tsmsm.c:290: error: for each function it appears in.)
modules/vfs_tsmsm.c: At top level:
modules/vfs_tsmsm.c:397: error: unknown field ?aio_return_fn? specified in 
initializer
modules/vfs_tsmsm.c:397: warning: initialization from incompatible pointer 
type

I have not looked into the details of the new aio code. Is the correct
way to fix this to simply remove these functions?

Regards,

Christof Schmitt || IBM || SONAS System Development || Tucson, AZ
christof.schmitt at us.ibm.com  ||  +1-520-799-2469  (T/L: 321-2469)



More information about the samba-technical mailing list