orangefs: invalidate stored directory on seek
authorMartin Brandenburg <martin@omnibond.com>
Tue, 2 May 2017 16:15:11 +0000 (12:15 -0400)
committerMike Marshall <hubcap@omnibond.com>
Thu, 4 May 2017 18:38:15 +0000 (14:38 -0400)
commit942835d68f6e16f2673c70791dc963c548681cb4
tree8ed2bf9e6c291240cbc11489e7eb4628dda698d2
parentbf15ba7c1f9ad000d062968f931e80234db84a24
orangefs: invalidate stored directory on seek

If an application seeks to a position before the point which has been
read, it must want updates which have been made to the directory.  So
delete the copy stored in the kernel so it will be fetched again.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/dir.c