mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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]>