RE: [PATCH v2 1/6] spi: Add SPIBSC driver

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

 



Hi Geert,

On Fri, Dec 13, 2019, Geert Uytterhoeven wrote:
> On Thu, Dec 12, 2019 at 9:19 PM Chris Brandt <Chris.Brandt@xxxxxxxxxxx>
> wrote:
> > On Thu, Dec 12, 2019, Sergei Shtylyov wrote:
> > >    As you can see, the deleted file is back after unmount/re-mount...
> >
> > Did you do a 'sync' before you unmounted?
> 
> Does it fail without? If yes, that must be a jffs2 bug.

It does not fail for me with or without the sync.

$ ls -l /mnt ; rm /mnt/test.txt ; umount /mnt
total 688
-rwsr-xr-x    1 root     root        703448 Oct 31 09:08 busybox
-rw-r--r--    1 root     root            58 Oct 31 09:00 test.txt
$ mount
$
$ mount /dev/mtdblock3 -t jffs2 /mnt
$ ls -l /mnt
total 687
-rwsr-xr-x    1 root     root        703448 Oct 31 09:08 busybox


I also tried this....and it works find as well.

$ cp /bin/busybox /mnt/busybox_2 ; umount /mnt

I just I was remembering that you need to call sync before you call reboot
or shutdown because those do not sync first. That's what I remember anyway.

I guess Sergei is using an R-Car board (I'm using RZ/A2M).

Chris





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux