static ssize_t gss_proc_write_secinit(struct file *file, const char *buffer, size_t count, loff_t *off) { int rc; rc = gss_do_ctx_init_rpc((char *) buffer, count); if (rc) { LASSERT(rc < 0); return rc; } return count; }
static int gss_proc_write_secinit(struct file *file, const char *buffer, unsigned long count, void *data) { int rc; rc = gss_do_ctx_init_rpc((char *) buffer, count); if (rc) { LASSERT(rc < 0); return rc; } return ((int) count); }