summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2016-06-13 00:49:04 +0200
committerRichard Weinberger <richard@nod.at>2016-06-14 10:51:42 +0200
commit61edc3f3b51d2d3948029197cfff6fef7d94e939 (patch)
tree0bcdb8eaa9992c0eabe6ec43b175cf7afa3f1b6a /drivers/scsi/qla4xxx
parent1a498ec45eeabcb246c3c3f5822ed9ac1b4f70d8 (diff)
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>
Diffstat (limited to 'drivers/scsi/qla4xxx')
0 files changed, 0 insertions, 0 deletions