Skip to content

Commit

Permalink
ocfs2: Add missing lock name
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
  • Loading branch information
jankara authored and Joel Becker committed Aug 20, 2009
1 parent 5fd1318 commit a8b88d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ocfs2/ocfs2_lockid.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ static char *ocfs2_lock_type_strings[] = {
[OCFS2_LOCK_TYPE_OPEN] = "Open",
[OCFS2_LOCK_TYPE_FLOCK] = "Flock",
[OCFS2_LOCK_TYPE_QINFO] = "Quota",
[OCFS2_LOCK_TYPE_NFS_SYNC] = "NFSSync",
[OCFS2_LOCK_TYPE_ORPHAN_SCAN] = "OrphanScan",
};

Expand Down

0 comments on commit a8b88d3

Please sign in to comment.