aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/reiserfs/inode.c')
-rw-r--r--fs/reiserfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
index 95d7680ead47..ea5061fd4f3e 100644
--- a/fs/reiserfs/inode.c
+++ b/fs/reiserfs/inode.c
@@ -1603,10 +1603,10 @@ int reiserfs_encode_fh(struct inode *inode, __u32 * data, int *lenp,
1603 1603
1604 if (parent && (maxlen < 5)) { 1604 if (parent && (maxlen < 5)) {
1605 *lenp = 5; 1605 *lenp = 5;
1606 return 255; 1606 return FILEID_INVALID;
1607 } else if (maxlen < 3) { 1607 } else if (maxlen < 3) {
1608 *lenp = 3; 1608 *lenp = 3;
1609 return 255; 1609 return FILEID_INVALID;
1610 } 1610 }
1611 1611
1612 data[0] = inode->i_ino; 1612 data[0] = inode->i_ino;