summaryrefslogtreecommitdiffstats
path: root/fs/befs/datastream.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-09-15 22:12:19 -0400
committerNicolas Pitre <nico@fluxnic.net>2011-11-26 19:21:27 -0500
commit6ee723a6570a897208b76ab3e9a495e9106b2f8c (patch)
tree6822cd8b588c789d5e71229f290a6e7b6e32e448 /fs/befs/datastream.h
parent0536bdf33faff4d940ac094c77998cfac368cfff (diff)
downloadop-kernel-dev-6ee723a6570a897208b76ab3e9a495e9106b2f8c.zip
op-kernel-dev-6ee723a6570a897208b76ab3e9a495e9106b2f8c.tar.gz
ARM: simplify __iounmap() when dealing with section based mapping
Firstly, there is no need to have a double pointer here as we're only walking the vmlist and not modifying it. Secondly, for the same reason, we don't need a write lock but only a read lock here, since the lock only protects the coherency of the list nothing else. Lastly, the reason for holding a lock is not what the comment says, so let's remove that misleading piece of information. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'fs/befs/datastream.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud