]> Pileus Git - ~andy/linux/blobdiff - fs/udf/namei.c
staging: usbip: userspace: unified command line arguments
[~andy/linux] / fs / udf / namei.c
index 95fee278ab9da660608226b478645878424bbf64..102c072c6bbfed3d76541b2c3766d89c9272d2ca 100644 (file)
@@ -1270,10 +1270,10 @@ static int udf_encode_fh(struct inode *inode, __u32 *fh, int *lenp,
 
        if (parent && (len < 5)) {
                *lenp = 5;
-               return 255;
+               return FILEID_INVALID;
        } else if (len < 3) {
                *lenp = 3;
-               return 255;
+               return FILEID_INVALID;
        }
 
        *lenp = 3;