lkml.org 
[lkml]   [2003]   [Aug]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 5 Aug 2003 22:08:48 -0700
FromAndrew Morton <>
SubjectRe: [PATCH] autofs4 doesn't expire
Maneesh Soni <maneesh@in.ibm.com> wrote:
>
>  +	if (vfs) {
>  +		if (is_vfsmnt_tree_busy(vfs))
>  +			ret--;
>  +		/* just to reduce ref count taken in lookup_mnt
>  +	 	 * cannot call mntput() here
>  +	 	 */
>  +		atomic_dec(&vfs->mnt_count);
>  +	}

Doesn't work, does it?  If someone else does a mntput() just beforehand,
__mntput() never gets run.

-
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:47    [from the cache]
©2003-2008