]> git.baikalelectronics.ru Git - kernel.git/commit
devpts: Convert to new IDA API
authorMatthew Wilcox <willy@infradead.org>
Mon, 11 Jun 2018 19:17:58 +0000 (15:17 -0400)
committerMatthew Wilcox <willy@infradead.org>
Wed, 22 Aug 2018 03:54:17 +0000 (23:54 -0400)
commitfef006a048e5e5409b9e81320a17bcf476b20a41
tree6e011cfaeb3d11f8cab3d0581fad70b6afef7277
parent89c663761fdff6b56963066e5f5fd17f65cfa006
devpts: Convert to new IDA API

ida_alloc_max() matches what this driver wants to do.  Also removes a
call to ida_pre_get().  We no longer need the protection of the mutex,
so convert pty_count to an atomic_t and remove the mutex entirely.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
fs/devpts/inode.c