Re: [PATCH 5/6] CIFS: Implement cifs_strict_writev (try #3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/12/27 Jeff Layton <jlayton@xxxxxxxxxx>:
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux