flock and fcntl(F_SETLK)

Magnus Ahltorp (map@stacken.kth.se)
19 Jul 1998 23:36:01 +0200


fcntl(F_SETLK) uses the f_op->lock(), so why doesn't flock() have a
similar hook in the file system?

This inconsistency makes flock() broken when using network file
systems that have proper locking (like AFS). How is this supposed to
be implemented in network file systems?

/Magnus
map@stacken.kth.se

-
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.altern.org/andrebalsa/doc/lkml-faq.html