coda: deal correctly with allocation failure from coda_cnode_makectl()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Jan 2012 15:46:03 +0000 (10:46 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Jan 2012 16:13:13 +0000 (11:13 -0500)
commit0b2c4e39c014219ef73f05ab580c284bf8e6af0a
tree4447c0dbab25dc209f267c17123845b1d3bb8273
parent3e25eb9c4bb649acdddb333d10774b640190f727
coda: deal correctly with allocation failure from coda_cnode_makectl()

lookup should fail with ENOMEM, not silently make dentry negative.
Switched to saner calling conventions, while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/coda/cnode.c
fs/coda/coda_fs_i.h
fs/coda/dir.c