diff options
author | Amir Goldstein <amir73il@gmail.com> | 2016-10-21 07:33:57 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-10-24 21:29:39 +0300 |
commit | d62a9025aee446994a706c711e45c6a655d9d348 (patch) | |
tree | d2088769b7588959115d07fecae48bacfdf785d3 /fs/orangefs/dcache.c | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-d62a9025aee446994a706c711e45c6a655d9d348.tar.xz |
orangefs: user file_inode() where it is due
Replace wrong use of file->f_path.dentry->d_inode with file_inode(file).
In case orangefs ever finds itself as an overelayfs layer, it would want
to get its own inode and not overlayfs's inode.
DISCLAIMER: I did not test this patch because I do not know how to setup
an orangefs mount
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/dcache.c')
0 files changed, 0 insertions, 0 deletions