fix cdev leak on O_PATH final fput()
authorMiklos Szeredi <miklos@szeredi.hu>
Wed, 16 Mar 2011 17:17:54 +0000 (18:17 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Mar 2011 20:18:39 +0000 (16:18 -0400)
commit60ed8cf78f886753e454b671841c0a3a0e55e915
treee37357fd9ca36362e38525c51944a0d4172b5308
parentbab1d9444d9a147f1dc3478dd06c16f490227f3e
fix cdev leak on O_PATH final fput()

__fput doesn't need a cdev_put() for O_PATH handles.

Signed-off-by: mszeredi@suse.cz
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c