Skip to content

Commit 9a268fa

Browse files
smalinuxmartinetd
authored andcommitted
fs/9p: fix indentation and Add missing a blank line after declaration
Warning found by checkpatch.pl Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Sohaib Mohamed <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
1 parent 772712c commit 9a268fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/9p/fid.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any)
103103
/* we'll recheck under lock if there's anything to look in */
104104
if (!ret && dentry->d_fsdata) {
105105
struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata;
106+
106107
spin_lock(&dentry->d_lock);
107108
hlist_for_each_entry(fid, h, dlist) {
108109
if (any || uid_eq(fid->uid, uid)) {
@@ -185,7 +186,7 @@ static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry,
185186
return ERR_PTR(-EPERM);
186187

187188
if (v9fs_proto_dotu(v9ses) || v9fs_proto_dotl(v9ses))
188-
uname = NULL;
189+
uname = NULL;
189190
else
190191
uname = v9ses->uname;
191192

0 commit comments

Comments
 (0)