]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: don't open-code atomic_long_read()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Aug 2014 15:05:50 +0000 (11:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:07 +0000 (02:39 -0400)
commit4150f0a95013639aba9fccaaffda3bd39795993a
tree44e75e36a419a6714f81c5c9c7539d74581b82c0
parentc3f0340749fe1819d8ec127378dd9cd699e0db60
dma-buf: don't open-code atomic_long_read()

... not to mention that even atomic_long_read() is too low-level here -
there's file_count().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/dma-buf/dma-buf.c