lkml.org 
[lkml]   [2000]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: fcntl(2) and other file systems like XFS
Jim Mostek wrote:
>
> I don't see a callout from sys_fcntl into a file system specific
> routine (other than for file locking). There is a lock callout in
> the file operations that can be invoked in fcntl_getlk/fcntl_setlk/...
> (I'm looking in 2.3.42). But, this is different than file system
> specific fcntls. There is a call to sock_fcntl if the inode is a
> socket. But, I don't see a call for a file system specific fcntl
> in sys_fcntl..
>

If memory serves, in SVRx derived Unixes fcntl calls are supposed
to resolve in the FS-independent layer, therefore the need for FS
writers to resort to ioctl's in order to provide access to unique
features in their FS. I suppose that's where Linus got the idea...

thx,


dk

---------
Dan Koren Dan.Koren@sgi.com
Silicon Graphics, Inc. phone: (USA) 650-933-3678
1200 Crittenden Lane M/S 30-3-802 fax: (USA) 650-932-0317
Mountain View, CA 94040 dkoren_p@pager.sgi.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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