diff options
| -rw-r--r-- | fs/quota/dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c index f68397923ebb..f95e0994f87d 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c | |||
| @@ -2140,7 +2140,7 @@ int dquot_file_open(struct inode *inode, struct file *file) | |||
| 2140 | 2140 | ||
| 2141 | error = generic_file_open(inode, file); | 2141 | error = generic_file_open(inode, file); |
| 2142 | if (!error && (file->f_mode & FMODE_WRITE)) | 2142 | if (!error && (file->f_mode & FMODE_WRITE)) |
| 2143 | dquot_initialize(inode); | 2143 | error = dquot_initialize(inode); |
| 2144 | return error; | 2144 | return error; |
| 2145 | } | 2145 | } |
| 2146 | EXPORT_SYMBOL(dquot_file_open); | 2146 | EXPORT_SYMBOL(dquot_file_open); |
