get_file_type() should use stat(), not lstat()
authorJens Axboe <jens.axboe@oracle.com>
Sat, 6 Feb 2010 22:36:26 +0000 (23:36 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 6 Feb 2010 22:36:26 +0000 (23:36 +0100)
commitb30d395ec288508f9c787af11d0f52e9df26e39f
treebc29153e3af64f9632381fb0b51bd5a67965017a
parent7bc8c2cf02fbd538ca388618ff2f4618787a86e0
get_file_type() should use stat(), not lstat()

We care about the device, not the potential link we are passed.

Reported-by: "H. Tolley" <h_tolley@hotmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c