diff options
author | Bob Peterson <rpeterso@redhat.com> | 2012-04-11 12:56:41 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2012-04-24 11:44:27 -0400 |
commit | df3fd117f98029eaf88c71dea770a1f8eacbfb99 (patch) | |
tree | 40473d408898528d6c10acbf07168edfd1372c89 /fs/gfs2/file.c | |
parent | 14e5f1848dcaed611e7dadfaa0d593a4a1b93010 (diff) |
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>
Diffstat (limited to 'fs/gfs2/file.c')
-rw-r--r-- | fs/gfs2/file.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index a3d2c9ee8d66..31b199f6efc1 100644 --- a/fs/gfs2/file.c +++ b/fs/gfs2/file.c | |||
@@ -558,14 +558,14 @@ fail: | |||
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 | * @inode: the inode the struct file belongs to | 562 | * @inode: the inode the struct file belongs to |
563 | * @file: the struct file being closed | 563 | * @file: the struct file being closed |
564 | * | 564 | * |
565 | * Returns: errno | 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 | struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; | 570 | struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; |
571 | struct gfs2_file *fp; | 571 | struct gfs2_file *fp; |
@@ -1005,7 +1005,7 @@ const struct file_operations gfs2_file_fops = { | |||
1005 | .unlocked_ioctl = gfs2_ioctl, | 1005 | .unlocked_ioctl = gfs2_ioctl, |
1006 | .mmap = gfs2_mmap, | 1006 | .mmap = gfs2_mmap, |
1007 | .open = gfs2_open, | 1007 | .open = gfs2_open, |
1008 | .release = gfs2_close, | 1008 | .release = gfs2_release, |
1009 | .fsync = gfs2_fsync, | 1009 | .fsync = gfs2_fsync, |
1010 | .lock = gfs2_lock, | 1010 | .lock = gfs2_lock, |
1011 | .flock = gfs2_flock, | 1011 | .flock = gfs2_flock, |
@@ -1019,7 +1019,7 @@ const struct file_operations gfs2_dir_fops = { | |||
1019 | .readdir = gfs2_readdir, | 1019 | .readdir = gfs2_readdir, |
1020 | .unlocked_ioctl = gfs2_ioctl, | 1020 | .unlocked_ioctl = gfs2_ioctl, |
1021 | .open = gfs2_open, | 1021 | .open = gfs2_open, |
1022 | .release = gfs2_close, | 1022 | .release = gfs2_release, |
1023 | .fsync = gfs2_fsync, | 1023 | .fsync = gfs2_fsync, |
1024 | .lock = gfs2_lock, | 1024 | .lock = gfs2_lock, |
1025 | .flock = gfs2_flock, | 1025 | .flock = gfs2_flock, |
@@ -1037,7 +1037,7 @@ const struct file_operations gfs2_file_fops_nolock = { | |||
1037 | .unlocked_ioctl = gfs2_ioctl, | 1037 | .unlocked_ioctl = gfs2_ioctl, |
1038 | .mmap = gfs2_mmap, | 1038 | .mmap = gfs2_mmap, |
1039 | .open = gfs2_open, | 1039 | .open = gfs2_open, |
1040 | .release = gfs2_close, | 1040 | .release = gfs2_release, |
1041 | .fsync = gfs2_fsync, | 1041 | .fsync = gfs2_fsync, |
1042 | .splice_read = generic_file_splice_read, | 1042 | .splice_read = generic_file_splice_read, |
1043 | .splice_write = generic_file_splice_write, | 1043 | .splice_write = generic_file_splice_write, |
@@ -1049,7 +1049,7 @@ const struct file_operations gfs2_dir_fops_nolock = { | |||
1049 | .readdir = gfs2_readdir, | 1049 | .readdir = gfs2_readdir, |
1050 | .unlocked_ioctl = gfs2_ioctl, | 1050 | .unlocked_ioctl = gfs2_ioctl, |
1051 | .open = gfs2_open, | 1051 | .open = gfs2_open, |
1052 | .release = gfs2_close, | 1052 | .release = gfs2_release, |
1053 | .fsync = gfs2_fsync, | 1053 | .fsync = gfs2_fsync, |
1054 | .llseek = default_llseek, | 1054 | .llseek = default_llseek, |
1055 | }; | 1055 | }; |