]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92d526e5ff36faa5ab5f8f4baa579d5f6f44beed
tree8ed2bf9e6c291240cbc11489e7eb4628dda698d2
parent9ce2859e31eafb668223a4b0e3198f2ac7143a1c
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