Al Viro efe39651f0 nfsd: fix compose_entry_fh() failure exits
Restore the original logics ("fail on mountpoints, negatives and in
case of fh_compose() failures").  Since commit 8177e (nfsd: clean up
readdirplus encoding) that got broken -
	rv = fh_compose(fhp, exp, dchild, &cd->fh);
	if (rv)
	       goto out;
	if (!dchild->d_inode)
		goto out;
	rv = 0;
out:
is equivalent to
	rv = fh_compose(fhp, exp, dchild, &cd->fh);
out:
and the second check has no effect whatsoever...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-04-13 10:12:02 -04:00
..
2011-01-04 18:22:10 -05:00
2011-07-18 09:39:01 -04:00
2012-02-03 14:26:42 -05:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-07-18 09:39:01 -04:00
2012-01-03 22:55:10 -05:00
2012-01-03 22:55:10 -05:00
2011-03-31 11:26:23 -03:00