diff options
-rw-r--r-- | fs/xfs/linux-2.6/xfs_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_export.c b/fs/xfs/linux-2.6/xfs_export.c index ca4f66c4de16..21f0e8257590 100644 --- a/fs/xfs/linux-2.6/xfs_export.c +++ b/fs/xfs/linux-2.6/xfs_export.c | |||
@@ -66,7 +66,7 @@ xfs_fs_encode_fh( | |||
66 | int len; | 66 | int len; |
67 | 67 | ||
68 | /* Directories don't need their parent encoded, they have ".." */ | 68 | /* Directories don't need their parent encoded, they have ".." */ |
69 | if (S_ISDIR(inode->i_mode)) | 69 | if (S_ISDIR(inode->i_mode) || !connectable) |
70 | fileid_type = FILEID_INO32_GEN; | 70 | fileid_type = FILEID_INO32_GEN; |
71 | else | 71 | else |
72 | fileid_type = FILEID_INO32_GEN_PARENT; | 72 | fileid_type = FILEID_INO32_GEN_PARENT; |