]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/symlink.c
[PATCH] struct path: convert udf
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / symlink.c
index 0c8a1294ec967f70e0906a9dfd37a5674da11113..957d6878b03ef4bfa307d91d7f55f6fd0e0c885b 100644 (file)
@@ -126,6 +126,10 @@ static int ocfs2_readlink(struct dentry *dentry,
                goto out;
        }
 
+       /*
+        * Without vfsmount we can't update atime now,
+        * but we will update atime here ultimately.
+        */
        ret = vfs_readlink(dentry, buffer, buflen, link);
 
        brelse(bh);
@@ -154,7 +158,7 @@ static void *ocfs2_follow_link(struct dentry *dentry,
        }
 
        status = vfs_follow_link(nd, link);
-       if (status)
+       if (status && status != -ENOENT)
                mlog_errno(status);
 bail:
        if (page) {