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

« back to all changes in this revision

Viewing changes to fs/xfs/linux-2.6/xfs_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:
89
89
         * seven combinations work.  The real answer is "don't use v2".
90
90
         */
91
91
        len = xfs_fileid_length(fileid_type);
92
 
        if (*max_len < len)
 
92
        if (*max_len < len) {
 
93
                *max_len = len;
93
94
                return 255;
 
95
        }
94
96
        *max_len = len;
95
97
 
96
98
        switch (fileid_type) {