mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
[GFS2] Fix code style/indent in ops_file.c
Fix a couple of minor issues. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
930cc237d6
commit
d00223f169
1 changed files with 4 additions and 3 deletions
|
@ -606,15 +606,16 @@ static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl)
|
|||
if (fl->fl_type == F_UNLCK) {
|
||||
do_unflock(file, fl);
|
||||
return 0;
|
||||
} else
|
||||
} else {
|
||||
return do_flock(file, cmd, fl);
|
||||
}
|
||||
}
|
||||
|
||||
const struct file_operations gfs2_file_fops = {
|
||||
.llseek = gfs2_llseek,
|
||||
.read = do_sync_read,
|
||||
.read = do_sync_read,
|
||||
.aio_read = generic_file_aio_read,
|
||||
.write = do_sync_write,
|
||||
.write = do_sync_write,
|
||||
.aio_write = generic_file_aio_write,
|
||||
.unlocked_ioctl = gfs2_ioctl,
|
||||
.mmap = gfs2_mmap,
|
||||
|
|
Loading…
Reference in a new issue