Commit df3fd117 authored by Bob Peterson's avatar Bob Peterson Committed by Steven Whitehouse

GFS2: Rename function gfs2_close to gfs2_release

This patch renames function gfs2_close to gfs2_release.
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 14e5f184
...@@ -558,14 +558,14 @@ static int gfs2_open(struct inode *inode, struct file *file) ...@@ -558,14 +558,14 @@ static int gfs2_open(struct inode *inode, struct file *file)
} }
/** /**
* gfs2_close - called to close a struct file * gfs2_release - called to close a struct file
* @inode: the inode the struct file belongs to * @inode: the inode the struct file belongs to
* @file: the struct file being closed * @file: the struct file being closed
* *
* Returns: errno * Returns: errno
*/ */
static int gfs2_close(struct inode *inode, struct file *file) static int gfs2_release(struct inode *inode, struct file *file)
{ {
struct gfs2_sbd *sdp = inode->i_sb->s_fs_info; struct gfs2_sbd *sdp = inode->i_sb->s_fs_info;
struct gfs2_file *fp; struct gfs2_file *fp;
...@@ -1005,7 +1005,7 @@ const struct file_operations gfs2_file_fops = { ...@@ -1005,7 +1005,7 @@ const struct file_operations gfs2_file_fops = {
.unlocked_ioctl = gfs2_ioctl, .unlocked_ioctl = gfs2_ioctl,
.mmap = gfs2_mmap, .mmap = gfs2_mmap,
.open = gfs2_open, .open = gfs2_open,
.release = gfs2_close, .release = gfs2_release,
.fsync = gfs2_fsync, .fsync = gfs2_fsync,
.lock = gfs2_lock, .lock = gfs2_lock,
.flock = gfs2_flock, .flock = gfs2_flock,
...@@ -1019,7 +1019,7 @@ const struct file_operations gfs2_dir_fops = { ...@@ -1019,7 +1019,7 @@ const struct file_operations gfs2_dir_fops = {
.readdir = gfs2_readdir, .readdir = gfs2_readdir,
.unlocked_ioctl = gfs2_ioctl, .unlocked_ioctl = gfs2_ioctl,
.open = gfs2_open, .open = gfs2_open,
.release = gfs2_close, .release = gfs2_release,
.fsync = gfs2_fsync, .fsync = gfs2_fsync,
.lock = gfs2_lock, .lock = gfs2_lock,
.flock = gfs2_flock, .flock = gfs2_flock,
...@@ -1037,7 +1037,7 @@ const struct file_operations gfs2_file_fops_nolock = { ...@@ -1037,7 +1037,7 @@ const struct file_operations gfs2_file_fops_nolock = {
.unlocked_ioctl = gfs2_ioctl, .unlocked_ioctl = gfs2_ioctl,
.mmap = gfs2_mmap, .mmap = gfs2_mmap,
.open = gfs2_open, .open = gfs2_open,
.release = gfs2_close, .release = gfs2_release,
.fsync = gfs2_fsync, .fsync = gfs2_fsync,
.splice_read = generic_file_splice_read, .splice_read = generic_file_splice_read,
.splice_write = generic_file_splice_write, .splice_write = generic_file_splice_write,
...@@ -1049,7 +1049,7 @@ const struct file_operations gfs2_dir_fops_nolock = { ...@@ -1049,7 +1049,7 @@ const struct file_operations gfs2_dir_fops_nolock = {
.readdir = gfs2_readdir, .readdir = gfs2_readdir,
.unlocked_ioctl = gfs2_ioctl, .unlocked_ioctl = gfs2_ioctl,
.open = gfs2_open, .open = gfs2_open,
.release = gfs2_close, .release = gfs2_release,
.fsync = gfs2_fsync, .fsync = gfs2_fsync,
.llseek = default_llseek, .llseek = default_llseek,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment