docs: locking: Fix bracket
Subsystems (4)
PATCH 1/1 docs: locking: Fix bracket
Remove needless '(' from code block.
---
Should I also replace ')(' with ') (' as it is in the second code block? It would improve readability in my opinion.
--- Documentation/filesystems/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/locking.rst +1 -1
@@ -27,7 +27,7 @@ prototypes:: int (*d_init)(struct dentry *); void (*d_release)(struct dentry *); void (*d_iput)(struct dentry *, struct inode *); - char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); + char *(*d_dname)(struct dentry *dentry, char *buffer, int buflen); struct vfsmount *(*d_automount)(struct path *path); int (*d_manage)(const struct path *, bool); struct dentry *(*d_real)(struct dentry *, enum d_real_type type);
Signature · 1 line
2.54.0
Quoted 3 lines · Manuel Ebner
Remove needless '(' from code block.
Signed-off-by Manuel Ebner <[email protected]>
Looks good. Feel free to add:
Quoted 3 lines
---
Should I also replace ')(' with ') (' as it is in the second code block? It would improve readability in my opinion.
Dunno, at least I'm used to the way which is written here :)
Honza
Quoted 20 lines
--- Documentation/filesystems/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/filesystems/locking.rst +1
-1@@ -27,7 +27,7 @@ prototypes:: int (*d_init)(struct dentry *); void (*d_release)(struct dentry *); void (*d_iput)(struct dentry *, struct inode *); - char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); + char *(*d_dname)(struct dentry *dentry, char *buffer, int buflen); struct vfsmount *(*d_automount)(struct path *path); int (*d_manage)(const struct path *, bool); struct dentry *(*d_real)(struct dentry *, enum d_real_type type);Signature · 1 line
2.54.0
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 8 lines · Jan Kara
Quoted 3 lines · Manuel Ebner
Remove needless '(' from code block.
Signed-off-by Manuel Ebner <[email protected]>Looks good. Feel free to add:
Reviewed-by Jan Kara <[email protected]>
Quoted 6 lines
Quoted 4 lines
---
Should I also replace ')(' with ') (' as it is in the second code block? It would improve readability in my opinion.Dunno, at least I'm used to the way which is written here :)
I agree - this looks typical to me.
Quoted 23 lines
Honza
Quoted 20 lines
--- Documentation/filesystems/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/filesystems/locking.rst +1
-1@@ -27,7 +27,7 @@ prototypes:: int (*d_init)(struct dentry *); void (*d_release)(struct dentry *); void (*d_iput)(struct dentry *, struct inode *); - char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); + char *(*d_dname)(struct dentry *dentry, char *buffer, int buflen); struct vfsmount *(*d_automount)(struct path *path); int (*d_manage)(const struct path *, bool); struct dentry *(*d_real)(struct dentry *, enum d_real_type type);Signature · 1 line
2.54.0
Signature · 1 line
~Randy
Quoted 15 lines · Manuel Ebner
Remove needless '(' from code block.
Signed-off-by Manuel Ebner <[email protected]>---
Should I also replace ')(' with ') (' as it is in the second code block? It would improve readability in my opinion.--- Documentation/filesystems/locking.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/filesystems/locking.rst +0
-0
Documentation/filesystems/locking.rst prototypes:: · line 31
Quoted 6 lines
Documentation/filesystems/locking.rst +1
-1@@ -27,7 +27,7 @@ prototypes:: int (*d_init)(struct dentry *); void (*d_release)(struct dentry *); void (*d_iput)(struct dentry *, struct inode *); - char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); + char *(*d_dname)(struct dentry *dentry, char *buffer, int buflen); struct vfsmount *(*d_automount)(struct path *path);
Applied, thanks.
jon