Skip to content
Commit 44512449 authored by Dave Kleikamp's avatar Dave Kleikamp
Browse files

jfs: fix readdir cookie incompatibility with NFSv4



NFSv4 reserves readdir cookie values 0-2 for special entries (. and ..),
but jfs allows a value of 2 for a non-special entry. This incompatibility
can result in the nfs client reporting a readdir loop.

This patch doesn't change the value stored internally, but adds one to
the value exposed to the iterate method.

Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
Tested-by: default avatarChristian Kujau <lists@nerdbynature.de>
parent f1d6e17f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment