projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VFS: normal filesystems (and lustre): d_inode() annotations
[deliverable/linux.git]
/
drivers
/
staging
/
lustre
/
lustre
/
llite
/
llite_nfs.c
diff --git
a/drivers/staging/lustre/lustre/llite/llite_nfs.c
b/drivers/staging/lustre/lustre/llite/llite_nfs.c
index 243a7840457f17457a32d86a039eacedcbceeaa1..db43b81386f7aedfdf634488d4b6634329dc67f1 100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/llite_nfs.c
+++ b/
drivers/staging/lustre/lustre/llite/llite_nfs.c
@@
-230,11
+230,11
@@
static int ll_nfs_get_name_filldir(struct dir_context *ctx, const char *name,
static int ll_get_name(struct dentry *dentry, char *name,
struct dentry *child)
{
static int ll_get_name(struct dentry *dentry, char *name,
struct dentry *child)
{
- struct inode *dir = d
entry->d_inode
;
+ struct inode *dir = d
_inode(dentry)
;
int rc;
struct ll_getname_data lgd = {
.lgd_name = name,
int rc;
struct ll_getname_data lgd = {
.lgd_name = name,
- .lgd_fid = ll_i2info(
child->d_inode
)->lli_fid,
+ .lgd_fid = ll_i2info(
d_inode(child)
)->lli_fid,
.ctx.actor = ll_nfs_get_name_filldir,
};
.ctx.actor = ll_nfs_get_name_filldir,
};
@@
-282,7
+282,7
@@
static struct dentry *ll_fh_to_parent(struct super_block *sb, struct fid *fid,
static struct dentry *ll_get_parent(struct dentry *dchild)
{
struct ptlrpc_request *req = NULL;
static struct dentry *ll_get_parent(struct dentry *dchild)
{
struct ptlrpc_request *req = NULL;
- struct inode *dir = d
child->d_inode
;
+ struct inode *dir = d
_inode(dchild)
;
struct ll_sb_info *sbi;
struct dentry *result = NULL;
struct mdt_body *body;
struct ll_sb_info *sbi;
struct dentry *result = NULL;
struct mdt_body *body;
This page took
0.033558 seconds
and
5
git commands to generate.