From cb683dfb72bc35ab6a7b9f88454e2eaad8afce35 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 6 Mar 2008 13:45:16 +1100 Subject: [PATCH] --- yaml --- r: 89379 b: refs/heads/master c: 24bd861d1c3fff5248de7ba3bdddb3369087ad46 h: refs/heads/master i: 89377: e9246dc78f6fbb3d8306ba1c2ea066e695495f51 89375: 6c7eb7e3361e5683aa74ea3cfcc4f7719db7bc19 v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_export.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7a468efe0008..2a6cc5e6c647 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 126468b1156211e26d97f74b2f1767acd141005a +refs/heads/master: 24bd861d1c3fff5248de7ba3bdddb3369087ad46 diff --git a/trunk/fs/xfs/linux-2.6/xfs_export.c b/trunk/fs/xfs/linux-2.6/xfs_export.c index ca4f66c4de16..21f0e8257590 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_export.c +++ b/trunk/fs/xfs/linux-2.6/xfs_export.c @@ -66,7 +66,7 @@ xfs_fs_encode_fh( int len; /* Directories don't need their parent encoded, they have ".." */ - if (S_ISDIR(inode->i_mode)) + if (S_ISDIR(inode->i_mode) || !connectable) fileid_type = FILEID_INO32_GEN; else fileid_type = FILEID_INO32_GEN_PARENT;