Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177206
b: refs/heads/master
c: f2ca715
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields committed Dec 15, 2009
1 parent 05f3a8f commit 2f7f5f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 3227fa41abc191384fa81b3bcf52aa7fccb31536
refs/heads/master: f2ca7153ca49a407ea1c7232c9fa7e9849f03f9c
6 changes: 4 additions & 2 deletions trunk/fs/nfsd/export.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,12 @@ static struct svc_export *svc_export_lookup(struct svc_export *);
static int check_export(struct inode *inode, int flags, unsigned char *uuid)
{

/* We currently export only dirs and regular files.
* This is what umountd does.
/*
* We currently export only dirs, regular files, and (for v4
* pseudoroot) symlinks.
*/
if (!S_ISDIR(inode->i_mode) &&
!S_ISLNK(inode->i_mode) &&
!S_ISREG(inode->i_mode))
return -ENOTDIR;

Expand Down

0 comments on commit 2f7f5f7

Please sign in to comment.