]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: show uuid when mount fails due to duplicate uuid
authorMitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
Fri, 13 Jan 2012 05:58:39 +0000 (05:58 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 31 Jan 2012 19:37:33 +0000 (13:37 -0600)
commit8f0020b203e4806c870b1b7e49038bb5d5df8feb
treedda591a89ef4d3fbf71983e491c65a6b6525920a
parente3cb1da54dc3e1a870941f236fac365a11b2dd37
xfs: show uuid when mount fails due to duplicate uuid

When a system tries to mount a filesystem (FS) using UUID, the xfs
returns -EINVAL and shows a message if a FS with the same UUID has
been already mounted. It is useful to output the duplicate UUID
with it.

Signed-off-by: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Ben Myers <bpm@sgi.com>
Cc: Alex Elder <elder@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.c