fasync: Use tabs instead of spaces in code indent
Subsystems (2)
PATCH 1/1 fasync: Use tabs instead of spaces in code indent
When I investigated about fasync_list in SMC network subsystem, I happened to find that here uses spaces instead of tabs in code indent and fix this by the way.
allow it under a spinlock")
--- fs/fcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fcntl.c +1 -1
@@ -927,7 +927,7 @@ void fasync_free(struct fasync_struct *new)*/ struct fasync_struct *fasync_insert_entry (int fd,struct file *filp,struct fasync_struct **fapp,struct fasync_struct *new) { -struct fasync_struct *fa, **fp; +struct fasync_struct *fa, **fp;spin_lock (&filp->f_lock);spin_lock (&fasync_lock);
Signature · 1 line
1.8.3.1
Jeff Layton
maintainerQuoted 17 lines · Wen Gu
When I investigated about
fasync_listin SMC network subsystem, I happened to find that here uses spaces instead of tabs in code indent and fix this by the way.Fixes f7347ce4ee7c ("fasync: re-organize fasync entry insertion toallow it under a spinlock")
Signed-off-by Wen Gu <[email protected]>Reviewed-by Tony Lu <[email protected]>--- fs/fcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fcntl.c +0
-0
fs/fcntl.c void fasync_free(struct fasync_struct *new) · line 933
Quoted 8 lines
fs/fcntl.c +1
-1@@ -927,7 +927,7 @@ void fasync_free(struct fasync_struct *new)*/ struct fasync_struct *fasync_insert_entry (int fd,struct file *filp,struct fasync_struct **fapp,struct fasync_struct *new) { -struct fasync_struct *fa, **fp; +struct fasync_struct *fa, **fp;spin_lock (&filp->f_lock);spin_lock (&fasync_lock);
Hi Wen,
I usually don't take patches that just fix whitespace like this. The reason is that these sorts of patches tend to make backporting difficult as they introduce merge conflicts for no good reason.
When you're making substantial changes in an area, then please do go ahead and fix up whitespace in the same area, but patches that just fix up whitespace are more trouble than they are worth.
Sorry,
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 33 lines · Jeff Layton
Quoted 17 lines · Wen Gu
When I investigated about
fasync_listin SMC network subsystem, I happened to find that here uses spaces instead of tabs in code indent and fix this by the way.Fixes f7347ce4ee7c ("fasync: re-organize fasync entry insertion toallow it under a spinlock")
Signed-off-by Wen Gu <[email protected]>Reviewed-by Tony Lu <[email protected]>--- fs/fcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fcntl.c +0
-0fs/fcntl.c void fasync_free(struct fasync_struct *new) · line 933
Quoted 8 lines
fs/fcntl.c +1
-1@@ -927,7 +927,7 @@ void fasync_free(struct fasync_struct *new)*/ struct fasync_struct *fasync_insert_entry (int fd,struct file *filp,struct fasync_struct **fapp,struct fasync_struct *new) { -struct fasync_struct *fa, **fp; +struct fasync_struct *fa, **fp;spin_lock (&filp->f_lock);spin_lock (&fasync_lock);Hi Wen,
I usually don't take patches that just fix whitespace like this. The reason is that these sorts of patches tend to make backporting difficult as they introduce merge conflicts for no good reason.
Quoted 6 lines
When you're making substantial changes in an area, then please do go ahead and fix up whitespace in the same area, but patches that just fix up whitespace are more trouble than they are worth.
Sorry,
Thank you for the reminding. I didn't realize my unintentional action would bring trouble to the backport. I will keep this in mind.
Thanks,
Wen Gu