pipe: preparation to new locking rules
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 Mar 2013 06:16:30 +0000 (02:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:12:59 +0000 (14:12 -0400)
* use the fact that file_inode(file)->i_pipe doesn't change
  while the file is opened - no locks needed to access that.
* switch to pipe_lock/pipe_unlock where it's easy to do

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found