android_kernel_xiaomi_sm8350/fs/ubifs
Christoph Hellwig 5af7926ff3 enforce ->sync_fs is only called for rw superblock
Make sure a superblock really is writeable by checking MS_RDONLY
under s_umount.  sync_filesystems needed some re-arragement for
that, but all but one sync_filesystem caller had the correct locking
already so that we could add that check there.  cachefiles grew
s_umount locking.

I've also added a WARN_ON to sync_filesystem to assert this for
future callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-06-11 21:36:06 -04:00
..
budget.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
commit.c
compress.c
debug.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
debug.h UBIFS: add re-mount debugging checks 2009-01-26 12:54:11 +02:00
dir.c UBIFS: simplify locking 2009-01-26 12:54:11 +02:00
file.c Merge branch 'linux-next' of git://git.infradead.org/ubifs-2.6 2009-04-06 15:00:19 -07:00
find.c UBIFS: improve find function interface 2009-03-08 13:29:09 +02:00
gc.c UBIFS: fully sort GCed nodes 2009-03-20 19:12:00 +02:00
io.c UBIFS: fix no_chk_data_crc 2009-01-27 16:25:10 +02:00
ioctl.c
journal.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
key.h UBIFS: amend key_hash return value 2009-03-08 13:29:41 +02:00
log.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
lprops.c UBIFS: add re-mount debugging checks 2009-01-26 12:54:11 +02:00
lpt_commit.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
lpt.c
Makefile
master.c UBIFS: return sensible error codes 2009-01-29 16:22:54 +02:00
misc.h
orphan.c UBIFS: ensure orphan area head is initialized 2009-01-26 12:54:11 +02:00
recovery.c UBIFS: fix recovery bug 2009-03-31 14:58:40 +03:00
replay.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
sb.c UBIFS: add R/O compatibility 2009-03-26 16:36:20 +02:00
scan.c
shrinker.c UBIFS: list usage cleanup 2009-02-17 12:45:22 +02:00
super.c enforce ->sync_fs is only called for rw superblock 2009-06-11 21:36:06 -04:00
tnc_commit.c
tnc_misc.c
tnc.c UBIFS: fix commentaries 2009-03-20 19:11:12 +02:00
ubifs-media.h UBIFS: add R/O compatibility 2009-03-26 16:36:20 +02:00
ubifs.h UBIFS: add R/O compatibility 2009-03-26 16:36:20 +02:00
xattr.c