]> 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)
commitd8ddb6fc767313372f674ad9bb0170bcd6fb94c0
tree8ed2bf9e6c291240cbc11489e7eb4628dda698d2
parent6a8f295ceca2df1806160606b56eb618358b0fef
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