diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-22 21:44:23 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 04:57:04 -0400 |
commit | 2233f31aade393641f0eaed43a71110e629bb900 (patch) | |
tree | 3993793028cb6c8dae41d407cb2217d221d9399c /fs/exportfs/expfs.c | |
parent | 2de5f059c4422e357b7df021b487a37b1d61356b (diff) |
[readdir] ->readdir() is gone
everything's converted to ->iterate()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/exportfs/expfs.c')
-rw-r--r-- | fs/exportfs/expfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c index 6c8ef1dd4bdf..78072e65f926 100644 --- a/fs/exportfs/expfs.c +++ b/fs/exportfs/expfs.c | |||
@@ -272,7 +272,7 @@ static int get_name(const struct path *path, char *name, struct dentry *child) | |||
272 | goto out; | 272 | goto out; |
273 | 273 | ||
274 | error = -EINVAL; | 274 | error = -EINVAL; |
275 | if (!file->f_op->readdir && !file->f_op->iterate) | 275 | if (!file->f_op->iterate) |
276 | goto out_close; | 276 | goto out_close; |
277 | 277 | ||
278 | buffer.name = name; | 278 | buffer.name = name; |