]> git.baikalelectronics.ru Git - kernel.git/commit
Do not use RCU for current process credentials
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Tue, 15 Jan 2013 06:30:00 +0000 (22:30 -0800)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 31 Jan 2013 16:08:10 +0000 (17:08 +0100)
commit48208befb889999cd2e664bb130fd8b8ed222d13
tree46006804ce8e576513e2844c4696593373cf33a4
parent1011bc2e83eb9bc8bcb53a8a0f63475b4e1f96ad
Do not use RCU for current process credentials

Commit fb986a5a0 added rcu lock to fuse/dir.c It was assuming
that 'task' is some other process but in fact this parameter always
equals to 'current'. Inline this parameter to make it more readable
and remove RCU lock as it is not needed when access current process
credentials.

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/dir.c
fs/fuse/file.c
fs/fuse/fuse_i.h
fs/fuse/inode.c