diff options
Diffstat (limited to 'fs/gfs2/file.c')
-rw-r--r-- | fs/gfs2/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index ce36a56dfeac..b8927d4f3bf2 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c | |||
@@ -223,7 +223,7 @@ static int do_gfs2_set_flags(struct file *filp, u32 reqflags, u32 mask) | |||
223 | int error; | 223 | int error; |
224 | u32 new_flags, flags; | 224 | u32 new_flags, flags; |
225 | 225 | ||
226 | error = mnt_want_write(filp->f_path.mnt); | 226 | error = mnt_want_write_file(filp); |
227 | if (error) | 227 | if (error) |
228 | return error; | 228 | return error; |
229 | 229 | ||
@@ -285,7 +285,7 @@ out_trans_end: | |||
285 | out: | 285 | out: |
286 | gfs2_glock_dq_uninit(&gh); | 286 | gfs2_glock_dq_uninit(&gh); |
287 | out_drop_write: | 287 | out_drop_write: |
288 | mnt_drop_write(filp->f_path.mnt); | 288 | mnt_drop_write_file(filp); |
289 | return error; | 289 | return error; |
290 | } | 290 | } |
291 | 291 | ||