Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx> wrote: > Of course, the cast is unnecessary, The cast is necessary as the argument is a const pointer and the return type is not. > and I'm sure you meant to return error: Oops. Yes, I changed my mind and renamed the argument to be 'error', but forgot to change the reference to it. David - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html