aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf/namei.c')
-rw-r--r--fs/udf/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c
index 95fee278ab9d..102c072c6bbf 100644
--- a/fs/udf/namei.c
+++ b/fs/udf/namei.c
@@ -1270,10 +1270,10 @@ static int udf_encode_fh(struct inode *inode, __u32 *fh, int *lenp,
1270 1270
1271 if (parent && (len < 5)) { 1271 if (parent && (len < 5)) {
1272 *lenp = 5; 1272 *lenp = 5;
1273 return 255; 1273 return FILEID_INVALID;
1274 } else if (len < 3) { 1274 } else if (len < 3) {
1275 *lenp = 3; 1275 *lenp = 3;
1276 return 255; 1276 return FILEID_INVALID;
1277 } 1277 }
1278 1278
1279 *lenp = 3; 1279 *lenp = 3;