Re: [PATCH] vfs: new O_NODE open flag

From: Jamie Lokier
Date: Fri Sep 25 2009 - 13:08:51 EST


Miklos Szeredi wrote:
> We could implement something similar for non-directories as well, by
> treating a NULL path parameter to openat() to mean - reopen:
>
> fd2 = openat(fd, NULL, O_RDWR);

It would be nice to make this behavior consistent across all the *at()
functions where it is acceptable.

-- Jamie
--
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/