[to-be-updated] init-do_mountsc-treat-erofs-like-eacces.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: init/do_mounts.c: treat EROFS like EACCES
has been removed from the -mm tree.  Its filename was
     init-do_mountsc-treat-erofs-like-eacces.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
From: Philippe De Muyter <phdm@xxxxxxxxx>
Subject: init/do_mounts.c: treat EROFS like EACCES

Some combinations of filesystem and block device (at least vfat on mmc)
yield -EROFS instead of -EACCES when the device is read-only.  Retry
mounting with MS_RDONLY set, just like for the EACCES case, instead of
failing directly.

Signed-off-by: Philippe De Muyter <phdm@xxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Dave Chinner <david@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 init/do_mounts.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN init/do_mounts.c~init-do_mountsc-treat-erofs-like-eacces init/do_mounts.c
--- a/init/do_mounts.c~init-do_mountsc-treat-erofs-like-eacces
+++ a/init/do_mounts.c
@@ -394,6 +394,7 @@ retry:
 			case 0:
 				goto out;
 			case -EACCES:
+			case -EROFS:
 				flags |= MS_RDONLY;
 				goto retry;
 			case -EINVAL:
_

Patches currently in -mm which might be from phdm@xxxxxxxxx are


--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux