diff options
| author | Ingo Molnar <mingo@kernel.org> | 2014-08-22 04:04:15 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2014-08-22 04:04:15 -0400 |
| commit | 80b304fd00e8b667775ff791121b61ecd7cd0c03 (patch) | |
| tree | b4f2ec59fe062c43343ee4c2f10a6bcd0e4dcd1b /fs/ubifs/commit.c | |
| parent | fb21b84e7f809ef04b1e5aed5d463cf0d4866638 (diff) | |
| parent | 6a7519e81321343165f89abb8b616df186d3e57a (diff) | |
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into x86/urgent
Pull EFI fixes from Matt Fleming:
* WARN_ON(!spin_is_locked()) always triggers on non-SMP machines.
Swap it for the more canonical lockdep_assert_held() which always
does the right thing - Guenter Roeck
* Assign the correct value to efi.runtime_version on arm64 so that all
the runtime services can be invoked - Semen Protsenko
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/ubifs/commit.c')
| -rw-r--r-- | fs/ubifs/commit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ubifs/commit.c b/fs/ubifs/commit.c index ff8229340cd5..aa13ad053b14 100644 --- a/fs/ubifs/commit.c +++ b/fs/ubifs/commit.c | |||
| @@ -174,7 +174,6 @@ static int do_commit(struct ubifs_info *c) | |||
| 174 | if (err) | 174 | if (err) |
| 175 | goto out; | 175 | goto out; |
| 176 | 176 | ||
| 177 | mutex_lock(&c->mst_mutex); | ||
| 178 | c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); | 177 | c->mst_node->cmt_no = cpu_to_le64(c->cmt_no); |
| 179 | c->mst_node->log_lnum = cpu_to_le32(new_ltail_lnum); | 178 | c->mst_node->log_lnum = cpu_to_le32(new_ltail_lnum); |
| 180 | c->mst_node->root_lnum = cpu_to_le32(zroot.lnum); | 179 | c->mst_node->root_lnum = cpu_to_le32(zroot.lnum); |
| @@ -204,7 +203,6 @@ static int do_commit(struct ubifs_info *c) | |||
| 204 | else | 203 | else |
| 205 | c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_NO_ORPHS); | 204 | c->mst_node->flags &= ~cpu_to_le32(UBIFS_MST_NO_ORPHS); |
| 206 | err = ubifs_write_master(c); | 205 | err = ubifs_write_master(c); |
| 207 | mutex_unlock(&c->mst_mutex); | ||
| 208 | if (err) | 206 | if (err) |
| 209 | goto out; | 207 | goto out; |
| 210 | 208 | ||
