cifs: have cifs_new_fileinfo take a tcon arg
authorJeff Layton <jlayton@redhat.com>
Mon, 20 Sep 2010 23:01:36 +0000 (16:01 -0700)
committerSteve French <sfrench@us.ibm.com>
Wed, 29 Sep 2010 19:04:33 +0000 (19:04 +0000)
commitf7a40689fd1e963cb1006349e050c07584895db5
tree32c0275bde5c7c2a9cb36c672648bb19e392171f
parent0d424ad0a4b8c08e45928bccfa5b4b240097b01b
cifs: have cifs_new_fileinfo take a tcon arg

To minimize calls to cifs_sb_tcon and to allow for a clear error path if
a tcon can't be acquired.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/dir.c
fs/cifs/file.c