From 80004ef07db5f7ef43a738fb2c3b30048836bc36 Mon Sep 17 00:00:00 2001 From: dongjiuzhu1 Date: Tue, 1 Aug 2023 09:58:01 +0800 Subject: [PATCH] fs/nfs: fix coding style issue Signed-off-by: dongjiuzhu1 --- fs/nfs/nfs_vfsops.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/nfs/nfs_vfsops.c b/fs/nfs/nfs_vfsops.c index 112869758e..be6c289781 100644 --- a/fs/nfs/nfs_vfsops.c +++ b/fs/nfs/nfs_vfsops.c @@ -1252,19 +1252,19 @@ static off_t nfs_seek(FAR struct file *filep, off_t offset, int whence) switch (whence) { case SEEK_SET: - break; + break; case SEEK_CUR: - offset += filep->f_pos; - break; + offset += filep->f_pos; + break; case SEEK_END: - offset += np->n_size; - break; + offset += np->n_size; + break; default: - nxmutex_unlock(&nmp->nm_lock); - return -EINVAL; + nxmutex_unlock(&nmp->nm_lock); + return -EINVAL; } if (offset >= 0)