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-05-24 11:00:20 -07:00
2016-05-24 11:00:20 -07:00
2016-05-27 14:17:15 -07:00
2016-03-24 19:57:15 -07:00
2016-06-14 10:51:42 +02:00
2014-04-14 11:23:01 -07:00
2016-05-05 23:51:51 +02:00
2016-05-05 23:51:51 +02:00
2014-03-10 22:42:25 -07:00
2016-04-18 11:23:24 +02:00