Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 09-09-2007, 12:13 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 19

Rep: Reputation: 0
Inode file_lock structure

hi everybody,

Inode of file has 'struct file_lock' field associated with it.
When sys_fcntl() acquires a lock, it calls posix_lock_file() which checks
if requested lock conflicts with any lock in inode's lock list.
My question is,
can we access this inode locklist in user level program .. is there any API
for accessing this lock list?.. if posix locks exist on a file, on its different regions,inserted by different processes, is there any method to access this locklist to find out regions locked by processes in a user level program?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding flag in inode structure vishalbutte Programming 6 01-25-2006 01:24 PM
Information needed about the use of the reserved field in the inode structure calsoft_pg Linux - Software 1 12-23-2005 10:27 PM
inode muthiahm Linux - Newbie 2 06-11-2004 04:00 PM
about inode eshwar_ind Programming 3 04-24-2004 02:39 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration