fs: ecryptfs: readdir: constify actor
authorAmit Pundir <amit.pundir@linaro.org>
Mon, 15 May 2017 21:27:35 +0000 (21:27 +0000)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:59 +0000 (18:03 +0200)
commitbb4973a34d9ef80d9dfa8ce850c97fa97ad66033
tree3dc5bbbd60275e54ed8da4473b3ab065aeede489
parent8b20480e50989739f44df2b0da02821058a61541
fs: ecryptfs: readdir: constify actor

actor is a constant in dir_context struct and
because of that we run into following build failure:
----------
fs/ecryptfs/file.c: In function ‘ecryptfs_readdir’:
fs/ecryptfs/file.c:130:2: error: assignment of read-only member ‘actor’
make[2]: *** [fs/ecryptfs/file.o] Error 1
make[1]: *** [fs/ecryptfs] Error 2
make: *** [fs] Error 2
----------

This fix is based on commit: b2497fc([readdir] constify ->actor)

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
fs/ecryptfs/file.c