]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/gfs2/export.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[mv-sheeva.git] / fs / gfs2 / export.c
index fe9945f2ff72945bd2e4d3d4a6d7fc183b43f137..70ba891654f8ce3582c456e208feda6d56e90a1a 100644 (file)
@@ -99,6 +99,7 @@ static int gfs2_get_name(struct dentry *parent, char *name,
        struct gfs2_holder gh;
        u64 offset = 0;
        int error;
+       struct file_ra_state f_ra = { .start = 0 };
 
        if (!dir)
                return -EINVAL;
@@ -118,7 +119,7 @@ static int gfs2_get_name(struct dentry *parent, char *name,
        if (error)
                return error;
 
-       error = gfs2_dir_read(dir, &offset, &gnfd, get_name_filldir);
+       error = gfs2_dir_read(dir, &offset, &gnfd, get_name_filldir, &f_ra);
 
        gfs2_glock_dq_uninit(&gh);