Updated from Linux LTS 3.10.25 to 3.10.26
This commit is contained in:
@@ -357,7 +357,7 @@ static int parse_mount_options(struct ceph_mount_options **pfsopt,
|
||||
}
|
||||
err = -EINVAL;
|
||||
dev_name_end--; /* back up to ':' separator */
|
||||
if (*dev_name_end != ':') {
|
||||
if (dev_name_end < dev_name || *dev_name_end != ':') {
|
||||
pr_err("device name is missing path (no : separator in %s)\n",
|
||||
dev_name);
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user