~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to fs/isofs/export.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
         * offset of the inode and the upper 16 bits of fh32[1] to
125
125
         * hold the offset of the parent.
126
126
         */
127
 
 
128
 
        if (len < 3 || (connectable && len < 5))
129
 
                return 255;
 
127
        if (connectable && (len < 5)) {
 
128
                *max_len = 5;
 
129
                return 255;
 
130
        } else if (len < 3) {
 
131
                *max_len = 3;
 
132
                return 255;
 
133
        }
130
134
 
131
135
        len = 3;
132
136
        fh32[0] = ei->i_iget5_block;