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)
Commit c69e8d9c0 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>

No differences found