]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
devpts: Must release s_umount on error
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Thu, 29 Jan 2009 00:57:12 +0000 (16:57 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 27 Mar 2009 18:43:59 +0000 (14:43 -0400)
commita9f184f02aa49d46c4c35311d93cbcd1c61149df
tree0a2f44b6be19fa876c7b423a1d1f02059952f926
parentaf5df56688acfb75c1b15b4e000ec5e82a9cdc29
devpts: Must release s_umount on error

We should drop the ->s_umount mutex if an error occurs after the
sget()/grab_super() call. This was introduced when adding support
for multiple instances of devpts and noticed during a code review/reorg.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/devpts/inode.c