diff options
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r-- | fs/gfs2/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index 75e9a3231b8f..c5984351e4d8 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c | |||
@@ -41,9 +41,9 @@ static ssize_t freeze_show(struct gfs2_sbd *sdp, char *buf) | |||
41 | { | 41 | { |
42 | unsigned int count; | 42 | unsigned int count; |
43 | 43 | ||
44 | down(&sdp->sd_freeze_lock); | 44 | mutex_lock(&sdp->sd_freeze_lock); |
45 | count = sdp->sd_freeze_count; | 45 | count = sdp->sd_freeze_count; |
46 | up(&sdp->sd_freeze_lock); | 46 | mutex_unlock(&sdp->sd_freeze_lock); |
47 | 47 | ||
48 | return sprintf(buf, "%u\n", count); | 48 | return sprintf(buf, "%u\n", count); |
49 | } | 49 | } |