diff options
Diffstat (limited to 'fs/nfs/dir.c')
-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 8d501093660f..0adfd8840110 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -1487,7 +1487,7 @@ static int nfs_finish_open(struct nfs_open_context *ctx, | |||
1487 | if (S_ISREG(file->f_path.dentry->d_inode->i_mode)) | 1487 | if (S_ISREG(file->f_path.dentry->d_inode->i_mode)) |
1488 | nfs_file_set_open_context(file, ctx); | 1488 | nfs_file_set_open_context(file, ctx); |
1489 | else | 1489 | else |
1490 | err = -ESTALE; | 1490 | err = -EOPENSTALE; |
1491 | out: | 1491 | out: |
1492 | return err; | 1492 | return err; |
1493 | } | 1493 | } |