diff options
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 5d7da3ad4e85..7b8b7c59db9f 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -556,7 +556,7 @@ int nfs_readdir_filler(nfs_readdir_descriptor_t *desc, struct page* page) | |||
556 | { | 556 | { |
557 | struct inode *inode = desc->file->f_path.dentry->d_inode; | 557 | struct inode *inode = desc->file->f_path.dentry->d_inode; |
558 | 558 | ||
559 | if (nfs_readdir_xdr_to_array(desc, page, inode) == -1) | 559 | if (nfs_readdir_xdr_to_array(desc, page, inode) < 0) |
560 | goto error; | 560 | goto error; |
561 | SetPageUptodate(page); | 561 | SetPageUptodate(page); |
562 | 562 | ||