summaryrefslogtreecommitdiff
path: root/fs/orangefs/protocol.h
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2015-09-23 16:48:40 -0400
committerMike Marshall <hubcap@omnibond.com>2015-10-03 11:44:32 -0400
commit88309aae3ddb62e6d02a8f1002a4f4fc41b423ad (patch)
tree6d52ec0dc0555640bebb6a77df45d233c819c741 /fs/orangefs/protocol.h
parent4d1c44043b26e99dd70f379cdbe80c64f43fd123 (diff)
Orangefs: fix dir_emit code in pvfs2_readdir.
Al Viro glanced at readdir and surmised that getdents would misbehave the way it was written... and sure enough. Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/protocol.h')
-rw-r--r--fs/orangefs/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/orangefs/protocol.h b/fs/orangefs/protocol.h
index f571be21f66a..cae9cc0f9d18 100644
--- a/fs/orangefs/protocol.h
+++ b/fs/orangefs/protocol.h
@@ -384,6 +384,7 @@ DECLARE_ERRNO_MAPPING()
#define INT32_MAX (2147483647)
#define PVFS_ITERATE_START (INT32_MAX - 1)
#define PVFS_ITERATE_END (INT32_MAX - 2)
+#define PVFS_ITERATE_NEXT (INT32_MAX - 3)
#define PVFS_READDIR_START PVFS_ITERATE_START
#define PVFS_READDIR_END PVFS_ITERATE_END
#define PVFS_IMMUTABLE_FL FS_IMMUTABLE_FL