2010/12/27 Jeff Layton <[email protected]>:
> A private_data of NULL on an open file is now a bug. Directories can
> currently have a NULL private_data, but that shouldn't be a problem
> here. I'd just check for invalidHandle. CIFS also has a ton of unneeded
> NULL pointer checks so it's not always worthwhile to use existing code
> as a guideline.

Ok, thanks for this info. In this case I'll remove private_data ==
NULL check from cifs_iovec_readv functions from the read patch too.

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to