Skip to content

Commit 6d66ffc

Browse files
smalinuxmartinetd
authored andcommitted
9p: fix minor indentation and codestyle
Warnings found by checkpatch.pl Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Sohaib Mohamed <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
1 parent e4eeefb commit 6d66ffc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fs/9p/vfs_dir.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ static inline int dt_type(struct p9_wstat *mistat)
7171
static struct p9_rdir *v9fs_alloc_rdir_buf(struct file *filp, int buflen)
7272
{
7373
struct p9_fid *fid = filp->private_data;
74+
7475
if (!fid->rdir)
7576
fid->rdir = kzalloc(sizeof(struct p9_rdir) + buflen, GFP_KERNEL);
7677
return fid->rdir;
@@ -108,6 +109,7 @@ static int v9fs_dir_readdir(struct file *file, struct dir_context *ctx)
108109
if (rdir->tail == rdir->head) {
109110
struct iov_iter to;
110111
int n;
112+
111113
iov_iter_kvec(&to, READ, &kvec, 1, buflen);
112114
n = p9_client_read(file->private_data, ctx->pos, &to,
113115
&err);
@@ -233,5 +235,5 @@ const struct file_operations v9fs_dir_operations_dotl = {
233235
.iterate_shared = v9fs_dir_readdir_dotl,
234236
.open = v9fs_file_open,
235237
.release = v9fs_dir_release,
236-
.fsync = v9fs_file_fsync_dotl,
238+
.fsync = v9fs_file_fsync_dotl,
237239
};

0 commit comments

Comments
 (0)