lkml.org 
[lkml]   [2003]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fd_install question ??
* sudharsan  vijayaraghavan (my_goal@rediffmail.com) wrote:
> f1 = get_empty_filp();
> if (!f1)
> goto no_files;
>
> f2 = get_empty_filp();
> if (!f2)
> goto close_f1;
>
> --> if (!f3)
> --> goto close_f12

you don't get a new filp for f3. f3 is going to remain as garbage.
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.066 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site