]> Pileus Git - ~andy/linux/blobdiff - fs/ocfs2/export.c
vfs: Allocate anon_inode_inode in anon_inode_init()
[~andy/linux] / fs / ocfs2 / export.c
index 322216a5f0dd1e0f2e178540781b3c6fd263c985..29651167190dd15032a5aaa71d2fe066a7bbab97 100644 (file)
@@ -195,11 +195,11 @@ static int ocfs2_encode_fh(struct inode *inode, u32 *fh_in, int *max_len,
 
        if (parent && (len < 6)) {
                *max_len = 6;
-               type = 255;
+               type = FILEID_INVALID;
                goto bail;
        } else if (len < 3) {
                *max_len = 3;
-               type = 255;
+               type = FILEID_INVALID;
                goto bail;
        }