Files
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 <[email protected]>
Reported-by: Al Viro <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
2016-06-14 10:51:42 +02:00
..
2016-06-14 10:51:42 +02:00
…
2016-05-05 23:51:51 +02:00
2016-05-05 23:51:51 +02:00
…
…
2016-04-18 11:23:24 +02:00
…
…