mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
ocfs2: Add missing lock name
There is missing name for NFSSync cluster lock. This makes lockdep unhappy because we end up passing NULL to lockdep when initializing lock key. Fix it. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Joel Becker <joel.becker@oracle.com>
This commit is contained in:
parent
5fd1318937
commit
a8b88d3d49
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ static char *ocfs2_lock_type_strings[] = {
|
||||||
[OCFS2_LOCK_TYPE_OPEN] = "Open",
|
[OCFS2_LOCK_TYPE_OPEN] = "Open",
|
||||||
[OCFS2_LOCK_TYPE_FLOCK] = "Flock",
|
[OCFS2_LOCK_TYPE_FLOCK] = "Flock",
|
||||||
[OCFS2_LOCK_TYPE_QINFO] = "Quota",
|
[OCFS2_LOCK_TYPE_QINFO] = "Quota",
|
||||||
|
[OCFS2_LOCK_TYPE_NFS_SYNC] = "NFSSync",
|
||||||
[OCFS2_LOCK_TYPE_ORPHAN_SCAN] = "OrphanScan",
|
[OCFS2_LOCK_TYPE_ORPHAN_SCAN] = "OrphanScan",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue