]> git.baikalelectronics.ru Git - kernel.git/commit
fs/coda/dir.c: forward declaration clean-up
authorFabian Frederick <fabf@skynet.be>
Tue, 17 Feb 2015 21:45:25 +0000 (13:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:50 +0000 (14:34 -0800)
commit326a5779054bb0aead47b6a1bc84db228a4db3e3
tree9d464c877d84e7b9e0a58765095c1b994cbc403c
parent0f116c47ecded6af3477be6d04e034f1b89a6bf5
fs/coda/dir.c: forward declaration clean-up

- Move operation structures to avoid forward declarations.

- Fix some checkpatch warnings:

WARNING: Missing a blank line after declarations
+ struct inode *host_inode = file_inode(host_file);
+ mutex_lock(&host_inode->i_mutex);

ERROR: that open brace { should be on the previous line
+const struct dentry_operations coda_dentry_operations =
+{

ERROR: that open brace { should be on the previous line
+const struct inode_operations coda_dir_inode_operations =
+{

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Jan Harkes <jaharkes@cs.cmu.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/coda/dir.c