Re: fcntl(F_GETLEASE) semantics??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Peter Chubb <[email protected]> wrote:
> if (fcntl(fd, F_SETLEASE, F_RDLCK) == -1)
>     fail;

Is that something inotify can do? If so, then should F_SETLEASE/GETLEASE
be deprecated for future? F_SETLEASE is Linux specific, and inotify is
generally more useful. It looks like inotify could be used to detected 
changes in any file.

Heikki Orsila			Barbie's law:
[email protected]		"Math is hard, let's go shopping!"
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at
Please read the FAQ at

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux