]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blobdiff - fs/exportfs/expfs.c
Merge branch 'for-3.8' of git://linux-nfs.org/~bfields/linux
[android-sdk/kernel-video.git] / fs / exportfs / expfs.c
index 606bb074c501842a1cf11df97464002e6d098f30..5df4bb4aab145dff9edc58408f2c1d923a5c8552 100644 (file)
@@ -322,10 +322,10 @@ static int export_encode_fh(struct inode *inode, struct fid *fid,
 
        if (parent && (len < 4)) {
                *max_len = 4;
-               return 255;
+               return FILEID_INVALID;
        } else if (len < 2) {
                *max_len = 2;
-               return 255;
+               return FILEID_INVALID;
        }
 
        len = 2;