]> git.karo-electronics.de Git - linux-beck.git/commit
orangefs: record userspace version for feature compatbility
authorMartin Brandenburg <martin@omnibond.com>
Tue, 9 Aug 2016 19:59:26 +0000 (15:59 -0400)
committerMartin Brandenburg <martin@omnibond.com>
Tue, 9 Aug 2016 20:25:51 +0000 (16:25 -0400)
commitf2ee3b759593c184f1249e03d613a84b4b69db2b
tree6e6bef9e829fa929c9858e6e906e843b703a2be3
parenta21aae3bb15a1d08040bdcf5a73504c0da9f5080
orangefs: record userspace version for feature compatbility

The client reports its version to the kernel on startup. We already test
that it is above the minimum version. Now we record it in a global
variable so code elsewhere can consult it before making a request the
client may not understand.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
fs/orangefs/devorangefs-req.c
fs/orangefs/orangefs-kernel.h