X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=7f0ac8513558de0baffa94ba3e0b4e1d2c28a1cc;hb=79fd07ce3738aceebc08fd363c14795ae9353057;hp=421d07df01830a688b158ea38237fe4fd150c836;hpb=316dc9666f2406985235a3b71ec19523a6d0c947;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index 421d07d..7f0ac85 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -134,6 +134,9 @@ bluesky_time_hires bluesky_now_hires(); * acquire locks on parents in the filesystem tree before children. * (TODO: What about rename when we acquire locks in unrelated parts of the * filesystem?) + * - An inode should not be locked while the filesystem lock is already held, + * since some code may do an inode lookup (which acquires the filesystem + * lock) while a different inode is locked. * */ typedef struct { GMutex *lock;