]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: Do not do invalidate if the filesystem is mounted nofsc
authorMilosz Tanski <milosz@adfin.com>
Thu, 5 Sep 2013 18:29:03 +0000 (18:29 +0000)
committerMilosz Tanski <milosz@adfin.com>
Fri, 6 Sep 2013 16:50:12 +0000 (16:50 +0000)
commit2fd8b9faf690a056bae58ea0a29163f9c2a2c31f
tree1131da4ce41231d7f2563519ec24cef7fd18657f
parent142ded21b71f9684d1226d2b606bddc564b1007e
ceph: Do not do invalidate if the filesystem is mounted nofsc

Previously we would always try to enqueue work even if the filesystem is not
mounted with fscache enabled (or the file has no cookie). In the case of the
filesystem mouned nofsc (but with fscache compiled in) this would lead to a
crash.

Signed-off-by: Milosz Tanski <milosz@adfin.com>
fs/ceph/cache.c