Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23113
b: refs/heads/master
c: 9b94c2e
h: refs/heads/master
i:
  23111: 028ac4b
v: v3
  • Loading branch information
Nathan Scott committed Mar 14, 2006
1 parent 13078e2 commit ef23f04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f79405527b50fe27cffcb7081890b5c68439b4f
refs/heads/master: 9b94c2eddf407ad8faa5672ffa691e2076167564
7 changes: 2 additions & 5 deletions trunk/fs/xfs/linux-2.6/xfs_export.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "xfs_mount.h"
#include "xfs_export.h"

STATIC struct dentry dotdot = { .d_name.name = "..", .d_name.len = 2, };

/*
* XFS encodes and decodes the fileid portion of NFS filehandles
* itself instead of letting the generic NFS code do it. This
Expand Down Expand Up @@ -160,11 +162,6 @@ linvfs_get_parent(
int error;
vnode_t *vp, *cvp;
struct dentry *parent;
struct dentry dotdot;

dotdot.d_name.name = "..";
dotdot.d_name.len = 2;
dotdot.d_inode = NULL;

cvp = NULL;
vp = LINVFS_GET_VP(child->d_inode);
Expand Down

0 comments on commit ef23f04

Please sign in to comment.