Commit 1d1bb236 authored by Al Viro's avatar Al Viro

gfs2: switch to ->iterate_shared()

protected by glock and already used without locking the directory
by gfs2_get_name()
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e77d0c63
......@@ -1119,7 +1119,7 @@ const struct file_operations gfs2_file_fops = {
};
const struct file_operations gfs2_dir_fops = {
.iterate = gfs2_readdir,
.iterate_shared = gfs2_readdir,
.unlocked_ioctl = gfs2_ioctl,
.open = gfs2_open,
.release = gfs2_release,
......@@ -1147,7 +1147,7 @@ const struct file_operations gfs2_file_fops_nolock = {
};
const struct file_operations gfs2_dir_fops_nolock = {
.iterate = gfs2_readdir,
.iterate_shared = gfs2_readdir,
.unlocked_ioctl = gfs2_ioctl,
.open = gfs2_open,
.release = gfs2_release,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment