Lines Matching refs:logdev
427 struct block_device *ddev, *logdev, *rtdev; in xfs_mount() local
431 logdev = rtdev = NULL; in xfs_mount()
447 error = xfs_blkdev_get(mp, args->logname, &logdev); in xfs_mount()
454 xfs_blkdev_put(logdev); in xfs_mount()
458 if (rtdev == ddev || rtdev == logdev) { in xfs_mount()
461 xfs_blkdev_put(logdev); in xfs_mount()
473 xfs_blkdev_put(logdev); in xfs_mount()
482 mp->m_logdev_targp = (logdev && logdev != ddev) ? in xfs_mount()
483 xfs_alloc_buftarg(logdev) : mp->m_ddev_targp; in xfs_mount()
505 if (!error && logdev && logdev != ddev) { in xfs_mount()
529 if (logdev && logdev != ddev) in xfs_mount()