vfs and permission() locking policy

From: Tomasz Turski
Date: Tue Jan 13 2009 - 09:05:58 EST


Hi,

I would like to know what is the locking policy in permission() function
in vfs (in file fs/namei.c).
I would like to lock inode->i_mutex in permission(), but I don't know if
I don't have any deadlock.

Regards,
Tomasz Turski
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/