Commit df3fd117f98029eaf88c71dea770a1f8eacbfb99
Committed by
Steven Whitehouse
1 parent
14e5f1848d
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
GFS2: Rename function gfs2_close to gfs2_release
This patch renames function gfs2_close to gfs2_release. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Showing 1 changed file with 6 additions and 6 deletions Side-by-side Diff
fs/gfs2/file.c
... | ... | @@ -558,14 +558,14 @@ |
558 | 558 | } |
559 | 559 | |
560 | 560 | /** |
561 | - * gfs2_close - called to close a struct file | |
561 | + * gfs2_release - called to close a struct file | |
562 | 562 | * @inode: the inode the struct file belongs to |
563 | 563 | * @file: the struct file being closed |
564 | 564 | * |
565 | 565 | * Returns: errno |
566 | 566 | */ |
567 | 567 | |
568 | -static int gfs2_close(struct inode *inode, struct file *file) | |
568 | +static int gfs2_release(struct inode *inode, struct file *file) | |
569 | 569 | { |
570 | 570 | struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; |
571 | 571 | struct gfs2_file *fp; |
... | ... | @@ -1005,7 +1005,7 @@ |
1005 | 1005 | .unlocked_ioctl = gfs2_ioctl, |
1006 | 1006 | .mmap = gfs2_mmap, |
1007 | 1007 | .open = gfs2_open, |
1008 | - .release = gfs2_close, | |
1008 | + .release = gfs2_release, | |
1009 | 1009 | .fsync = gfs2_fsync, |
1010 | 1010 | .lock = gfs2_lock, |
1011 | 1011 | .flock = gfs2_flock, |
... | ... | @@ -1019,7 +1019,7 @@ |
1019 | 1019 | .readdir = gfs2_readdir, |
1020 | 1020 | .unlocked_ioctl = gfs2_ioctl, |
1021 | 1021 | .open = gfs2_open, |
1022 | - .release = gfs2_close, | |
1022 | + .release = gfs2_release, | |
1023 | 1023 | .fsync = gfs2_fsync, |
1024 | 1024 | .lock = gfs2_lock, |
1025 | 1025 | .flock = gfs2_flock, |
... | ... | @@ -1037,7 +1037,7 @@ |
1037 | 1037 | .unlocked_ioctl = gfs2_ioctl, |
1038 | 1038 | .mmap = gfs2_mmap, |
1039 | 1039 | .open = gfs2_open, |
1040 | - .release = gfs2_close, | |
1040 | + .release = gfs2_release, | |
1041 | 1041 | .fsync = gfs2_fsync, |
1042 | 1042 | .splice_read = generic_file_splice_read, |
1043 | 1043 | .splice_write = generic_file_splice_write, |
... | ... | @@ -1049,7 +1049,7 @@ |
1049 | 1049 | .readdir = gfs2_readdir, |
1050 | 1050 | .unlocked_ioctl = gfs2_ioctl, |
1051 | 1051 | .open = gfs2_open, |
1052 | - .release = gfs2_close, | |
1052 | + .release = gfs2_release, | |
1053 | 1053 | .fsync = gfs2_fsync, |
1054 | 1054 | .llseek = default_llseek, |
1055 | 1055 | }; |