Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346513
b: refs/heads/master
c: ab49bde
h: refs/heads/master
i:
  346511: 45322fa
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Linus Torvalds committed Dec 18, 2012
1 parent db612f5 commit a8f22e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 138d22b58696c506799f8de759804083ff9effae
refs/heads/master: ab49bdecc3ebb46ab661f5f05d5c5ea9606406c6
2 changes: 1 addition & 1 deletion trunk/fs/exportfs/expfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len,
*/
parent = p->d_inode;
}
if (nop->encode_fh)
if (nop && nop->encode_fh)
error = nop->encode_fh(inode, fid->raw, max_len, parent);
else
error = export_encode_fh(inode, fid, max_len, parent);
Expand Down

0 comments on commit a8f22e3

Please sign in to comment.