aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c
index df00b754631d..e0a33f598cdf 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2941,8 +2941,8 @@ static struct file *path_openat(int dfd, struct filename *pathname,
2941 int error; 2941 int error;
2942 2942
2943 file = get_empty_filp(); 2943 file = get_empty_filp();
2944 if (!file) 2944 if (IS_ERR(file))
2945 return ERR_PTR(-ENFILE); 2945 return file;
2946 2946
2947 file->f_flags = op->open_flag; 2947 file->f_flags = op->open_flag;
2948 2948