Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1025
b: refs/heads/master
c: 3dcee80
h: refs/heads/master
i:
  1023: 4a33e99
v: v3
  • Loading branch information
Alasdair G Kergon authored and Linus Torvalds committed May 5, 2005
1 parent 38e047c commit 46a0b2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1782a3b0a15d9ac497a8f47931c4536bfe8d18e
refs/heads/master: 3dcee8064bd36c547b45514dfd33df4c12695428
6 changes: 2 additions & 4 deletions trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,18 +1009,16 @@ static int __lock_fs(struct mapped_device *md)
return 0;
}

static int __unlock_fs(struct mapped_device *md)
static void __unlock_fs(struct mapped_device *md)
{
if (!test_and_clear_bit(DMF_FS_LOCKED, &md->flags))
return 0;
return;

thaw_bdev(md->frozen_bdev, md->frozen_sb);
bdput(md->frozen_bdev);

md->frozen_sb = NULL;
md->frozen_bdev = NULL;

return 0;
}

/*
Expand Down

0 comments on commit 46a0b2d

Please sign in to comment.