Re: Make NFS userspace and server directories cookies independant[patch, fc3, 2.6.10-1.766_FC3]
From: Trond Myklebust
Date: Mon Mar 21 2005 - 19:31:16 EST
ty den 22.03.2005 Klokka 01:02 (+0100) skreiv Olivier Galibert:
> On Mon, Mar 21, 2005 at 12:46:58PM -0500, Trond Myklebust wrote:
> + if (filp->f_pos == ctx->dir_pos)
> + desc->target_cookie = ctx->dir_cookie;
> + else
> + desc->target_cookie = 0;
This sort of thing worries me: I think we can do better by hooking
lseek() on directories. I'll see what I can do.
Cheers,
Trond
--
Trond Myklebust <trond.myklebust@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/