aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/file.c')
-rw-r--r--fs/gfs2/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c
index 5002408dabea..ce36a56dfeac 100644
--- a/fs/gfs2/file.c
+++ b/fs/gfs2/file.c
@@ -66,13 +66,13 @@ static loff_t gfs2_llseek(struct file *file, loff_t offset, int origin)
66 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, 66 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY,
67 &i_gh); 67 &i_gh);
68 if (!error) { 68 if (!error) {
69 error = generic_file_llseek_unlocked(file, offset, origin); 69 error = generic_file_llseek(file, offset, origin);
70 gfs2_glock_dq_uninit(&i_gh); 70 gfs2_glock_dq_uninit(&i_gh);
71 } 71 }
72 break; 72 break;
73 case SEEK_CUR: 73 case SEEK_CUR:
74 case SEEK_SET: 74 case SEEK_SET:
75 error = generic_file_llseek_unlocked(file, offset, origin); 75 error = generic_file_llseek(file, offset, origin);
76 break; 76 break;
77 default: 77 default:
78 error = -EINVAL; 78 error = -EINVAL;