cifs: eliminate cifs_init_private
authorJeff Layton <jlayton@redhat.com>
Mon, 21 Sep 2009 18:08:18 +0000 (14:08 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 24 Sep 2009 19:35:18 +0000 (19:35 +0000)
commit086f68bd97126618ecb2dcff5f766f3a21722df7
tree25f5785dc4ce4ffdc8c852b6c04e52324dd334b0
parent3bc303c254335dbd7c7012cc1760b12f1d5514d3
cifs: eliminate cifs_init_private

...it does the same thing as cifs_fill_fileinfo, but doesn't handle the
flist ordering correctly. Also rename cifs_fill_fileinfo to a more
descriptive name and have it take an open flags arg instead of just a
write_only flag. That makes the logic in the callers a little simpler.

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