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
..
2016-06-14 10:51:42 +02:00
2016-01-22 18:04:28 -05:00
2015-04-13 21:05:17 +02:00
2016-06-14 10:51:42 +02:00
2015-10-03 20:09:41 +02:00
2015-03-26 22:47:38 +01:00