]> err.no Git - linux-2.6/blobdiff - fs/gfs2/ops_export.c
[NETFILTER]: nf_conntrack: add NetBIOS name service helper port
[linux-2.6] / fs / gfs2 / ops_export.c
index 4b8c6a9893e4e41f61c91ca7bcad5f5278ae69fe..86127d93bd35f6f846f7d5b46f53cfd4fa0ccb53 100644 (file)
@@ -14,9 +14,9 @@
 #include <linux/buffer_head.h>
 #include <linux/gfs2_ondisk.h>
 #include <linux/crc32.h>
+#include <linux/lm_interface.h>
 
 #include "gfs2.h"
-#include "lm_interface.h"
 #include "incore.h"
 #include "dir.h"
 #include "glock.h"
@@ -182,6 +182,10 @@ static struct dentry *gfs2_get_parent(struct dentry *child)
 
        if (!inode)
                return ERR_PTR(-ENOENT);
+       /*
+        * In case of an error, @inode carries the error value, and we
+        * have to return that as a(n invalid) pointer to dentry.
+        */
        if (IS_ERR(inode))
                return ERR_PTR(PTR_ERR(inode));