linux/drivers/mtd
Richard Weinberger 61edc3f3b5 ubi: Don't bypass ->getattr()
Directly accessing inode fields bypasses ->getattr()
and can cause problems when the underlying filesystem
does not have the default ->getattr() implementation.

So instead of obtaining the backing inode via d_backing_inode()
use vfs_getattr() and obtain what we need from the kstat struct.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
2016-06-14 10:51:42 +02:00
..
chips mtd: avoid stack overflow in MTD CFI code 2016-04-03 16:46:24 -07:00
devices MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
lpddr
maps MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
nand MTD fixes for v4.7-rc1 2016-05-27 14:17:15 -07:00
onenand mtd: onenand: switch to mtd_ooblayout_ops 2016-05-05 23:51:49 +02:00
spi-nor mtd: spi-nor: support GigaDevice gd25lq64c 2016-05-10 15:44:18 -07:00
tests MTD updates for v4.6 2016-03-24 19:57:15 -07:00
ubi ubi: Don't bypass ->getattr() 2016-06-14 10:51:42 +02:00
afs.c
ar7part.c
bcm47xxpart.c mtd: bcm47xxpart: don't fail because of bit-flips 2016-01-23 14:40:47 -08:00
bcm63xxpart.c mtd: bcm63xxpart: give width specifier an 'int', not 'size_t' 2016-03-07 13:13:58 -08:00
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
Kconfig mtd: bcm63xxpart: Remove dependency on mach-bcm63xx 2016-02-12 10:27:48 -08:00
Makefile
mtd_blkdevs.c mtd: switch to using blk_queue_write_cache() 2016-04-12 16:00:39 -06:00
mtdblock_ro.c
mtdblock.c
mtdchar.c mtd: kill the nand_ecclayout struct 2016-05-05 23:51:51 +02:00
mtdconcat.c mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition 2016-04-19 22:05:55 +02:00
mtdcore.c mtd: kill the nand_ecclayout struct 2016-05-05 23:51:51 +02:00
mtdcore.h
mtdoops.c
mtdpart.c mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition 2016-04-19 22:05:55 +02:00
mtdsuper.c
mtdswap.c mtd: mtdswap: remove useless if (!mtd->ecclayout) test 2016-03-07 16:23:09 -08:00
nftlcore.c
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
sm_ftl.c treewide: Fix typos in printk 2016-04-18 11:23:24 +02:00
sm_ftl.h
ssfdc.c