Re: [PATCH] symlink.c

2001-06-12 Thread Jeremy Fitzhardinge
Quoting John Martin <[EMAIL PROTECTED]>: > this patch adds a check to make sure memory was allocated, returns an > error code otherwise. autofs4_dentry_ino doesn't allocate memory; it just extracts the fsdata pointer from the dentry structure. If it's returning NULL, then there's something else

[PATCH] symlink.c

2001-06-12 Thread John Martin
this patch adds a check to make sure memory was allocated, returns an error code otherwise. -john --- fs/autofs4/symlink.c.orig Fri Apr 21 14:41:36 2000 +++ fs/autofs4/symlink.cSun Jun 3 00:43:18 2001 @@ -15,13 +15,15 @@ static int autofs4_readlink(struct dentry *dentry, char *buff