diff options
author | Mike Marshall <hubcap@omnibond.com> | 2015-09-23 22:48:40 +0200 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2015-10-03 17:44:32 +0200 |
commit | 88309aae3ddb62e6d02a8f1002a4f4fc41b423ad (patch) | |
tree | 6d52ec0dc0555640bebb6a77df45d233c819c741 /fs/orangefs/protocol.h | |
parent | Orangefs: use iov_iter interface (diff) | |
download | linux-88309aae3ddb62e6d02a8f1002a4f4fc41b423ad.tar.xz linux-88309aae3ddb62e6d02a8f1002a4f4fc41b423ad.zip |
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.h | 1 |
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 |