~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to fs/cifs/readdir.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
195
195
        int len;
196
196
        int oplock = 0;
197
197
        int rc;
198
 
        struct cifsTconInfo *ptcon = cifs_sb_tcon(cifs_sb);
 
198
        struct cifs_tcon *ptcon = cifs_sb_tcon(cifs_sb);
199
199
        char *tmpbuffer;
200
200
 
201
201
        rc = CIFSSMBOpen(xid, ptcon, full_path, FILE_OPEN, GENERIC_READ,
223
223
        struct cifsFileInfo *cifsFile;
224
224
        struct cifs_sb_info *cifs_sb = CIFS_SB(file->f_path.dentry->d_sb);
225
225
        struct tcon_link *tlink = NULL;
226
 
        struct cifsTconInfo *pTcon;
 
226
        struct cifs_tcon *pTcon;
227
227
 
228
228
        if (file->private_data == NULL) {
229
229
                tlink = cifs_sb_tlink(cifs_sb);
496
496
   assume that they are located in the findfirst return buffer.*/
497
497
/* We start counting in the buffer with entry 2 and increment for every
498
498
   entry (do not increment for . or .. entry) */
499
 
static int find_cifs_entry(const int xid, struct cifsTconInfo *pTcon,
 
499
static int find_cifs_entry(const int xid, struct cifs_tcon *pTcon,
500
500
        struct file *file, char **ppCurrentEntry, int *num_to_ret)
501
501
{
502
502
        int rc = 0;
764
764
{
765
765
        int rc = 0;
766
766
        int xid, i;
767
 
        struct cifsTconInfo *pTcon;
 
767
        struct cifs_tcon *pTcon;
768
768
        struct cifsFileInfo *cifsFile = NULL;
769
769
        char *current_entry;
770
770
        int num_to_fill = 0;