diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index 9f3a78fe6ae..a1a6e5ceea6 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -623,7 +623,7 @@ xfs_blkdev_put( | |||
623 | struct block_device *bdev) | 623 | struct block_device *bdev) |
624 | { | 624 | { |
625 | if (bdev) | 625 | if (bdev) |
626 | close_bdev_exclusive(bdev, FMODE_READ|FMODE_WRITE); | 626 | blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); |
627 | } | 627 | } |
628 | 628 | ||
629 | /* | 629 | /* |