summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-10-02 10:28:05 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-10-02 10:28:05 -0400
commitd00223f1693173c7b51f867dd52049955a92d0ed (patch)
tree0bae54ad9011e7f7e4426044ff1ff3b901cc7223 /fs
parent930cc237d67dc62464fe71529631d16f51d7aee3 (diff)
downloadop-kernel-dev-d00223f1693173c7b51f867dd52049955a92d0ed.zip
op-kernel-dev-d00223f1693173c7b51f867dd52049955a92d0ed.tar.gz
[GFS2] Fix code style/indent in ops_file.c
Fix a couple of minor issues. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/gfs2/ops_file.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c
index f2d0bd8..fafa48b 100644
--- a/fs/gfs2/ops_file.c
+++ b/fs/gfs2/ops_file.c
@@ -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,
OpenPOWER on IntegriCloud