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

Notices


Reply
  Search this Thread
Old 09-09-2007, 12:13 AM   #1
sid18
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?
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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