fs: ecryptfs: readdir: constify actor
authorAmit Pundir <amit.pundir@linaro.org>
Fri, 13 Mar 2015 08:29:47 +0000 (13:59 +0530)
committerAmit Pundir <amit.pundir@linaro.org>
Fri, 13 Mar 2015 08:55:54 +0000 (14:25 +0530)
commit4be5c6a45a26cdfa7f6ad4a3c01cb69781f37535
tree4b2e7c8af5ad017b0977df18e0f8d8cddc1f3307
parente48e8c45925185c02b23ae461671be29c91101d5
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: b2497fc3057a([readdir] constify ->actor)

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