From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: sys_poll/do_poll/f_op->poll Date: Thu, 2 Mar 2006 08:09:30 +0000 Message-ID: <20060302080930.GA20193@mail.shareable.org> References: <1141283803.17264.32.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from mail.shareable.org ([81.29.64.88]:9150 "EHLO mail.shareable.org") by vger.kernel.org with ESMTP id S1751230AbWCBIL4 (ORCPT ); Thu, 2 Mar 2006 03:11:56 -0500 To: Shaya Potter Content-Disposition: inline In-Reply-To: <1141283803.17264.32.camel@localhost.localdomain> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Shaya Potter wrote: > am I missing something or do none of the in kernel file system use this > code (and would therefore sys_poll() not work on them?) sys_poll() is _required_ by tradition and standards to return (at least) POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM for regular files. That's why there are no poll operations for files in any filesystem. -- Jamie