staging: lustre: lustre: llite: Added a blank line
PATCH 1/1 staging: lustre: lustre: llite: Added a blank line
Added a blank line after declaration to fix the coding style warning detected by checkpatch.pl
WARNING: Missing a blank line after declarations
--- drivers/staging/lustre/lustre/llite/llite_capa.c | 1 + 1 file changed, 1 insertion(+)
drivers/staging/lustre/lustre/llite/llite_capa.c +1 -0
@@ -140,6 +140,7 @@ static void sort_add_capa(struct obd_capa *ocapa, struct list_head *head)static inline int obd_capa_open_count (struct obd_capa *oc) {struct ll_inode_info *lli =ll_i2info (oc->u.cli.inode); +return atomic_read (&lli->lli_open_count); }
Signature · 1 line
1.9.1
Quoted 15 lines · Anjali Menon
Added a blank line after declaration to fix the coding style warning detected by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by Anjali Menon <[email protected]>---
drivers/staging/lustre/lustre/llite/llite_capa.c| 1 +1 file changed, 1 insertion(+)drivers/staging/lustre/lustre/llite/llite_capa.c +0
-0
drivers/staging/lustre/lustre/llite/llite_capa.c static void sort_add_capa(struct obd_capa *ocapa, struct list_head *head) · line 140
Quoted 1 line
drivers/staging/lustre/lustre/llite/llite_capa.c +0
-0@@ -140,6 +140,7 @@ static void sort_add_capa(struct obd_capa *ocapa, struct list_head *head)static inline int obd_capa_open_count (struct obd_capa *oc)
This whole file has been recently removed.
In general at least with Lustre (and probably with other staging code) it's best to base your work on Greg's staging-next (or even staging-testing) tree because this is where the most up to date code is (And this is where Greg tries to apply it anyway).
Quoted 9 lines
drivers/staging/lustre/lustre/llite/llite_capa.c +1
-0{struct ll_inode_info *lli =ll_i2info (oc->u.cli.inode); +return atomic_read (&lli->lli_open_count); }Signature · 1 line
1.9.1