diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-09-29 18:09:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-24 23:34:59 -0400 |
commit | 966c1f75f8e1e8e44d8277f7cc3598f6abbdda2f (patch) | |
tree | 0aafdc4256919b8505b99450705a269b5b14b197 | |
parent | 719ea2fbb553ab3f61a174a4b5861289dcc46cb1 (diff) |
isofs: don't pass dentry to isofs_hash{i,}_common()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/isofs/inode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index e5d408a7ea4a..4a9e10ea13f2 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c | |||
@@ -181,7 +181,7 @@ struct iso9660_options{ | |||
181 | * Compute the hash for the isofs name corresponding to the dentry. | 181 | * Compute the hash for the isofs name corresponding to the dentry. |
182 | */ | 182 | */ |
183 | static int | 183 | static int |
184 | isofs_hash_common(const struct dentry *dentry, struct qstr *qstr, int ms) | 184 | isofs_hash_common(struct qstr *qstr, int ms) |
185 | { | 185 | { |
186 | const char *name; | 186 | const char *name; |
187 | int len; | 187 | int len; |
@@ -202,7 +202,7 @@ isofs_hash_common(const struct dentry *dentry, struct qstr *qstr, int ms) | |||
202 | * Compute the hash for the isofs name corresponding to the dentry. | 202 | * Compute the hash for the isofs name corresponding to the dentry. |
203 | */ | 203 | */ |
204 | static int | 204 | static int |
205 | isofs_hashi_common(const struct dentry *dentry, struct qstr *qstr, int ms) | 205 | isofs_hashi_common(struct qstr *qstr, int ms) |
206 | { | 206 | { |
207 | const char *name; | 207 | const char *name; |
208 | int len; | 208 | int len; |
@@ -259,13 +259,13 @@ static int isofs_dentry_cmp_common( | |||
259 | static int | 259 | static int |
260 | isofs_hash(const struct dentry *dentry, struct qstr *qstr) | 260 | isofs_hash(const struct dentry *dentry, struct qstr *qstr) |
261 | { | 261 | { |
262 | return isofs_hash_common(dentry, qstr, 0); | 262 | return isofs_hash_common(qstr, 0); |
263 | } | 263 | } |
264 | 264 | ||
265 | static int | 265 | static int |
266 | isofs_hashi(const struct dentry *dentry, struct qstr *qstr) | 266 | isofs_hashi(const struct dentry *dentry, struct qstr *qstr) |
267 | { | 267 | { |
268 | return isofs_hashi_common(dentry, qstr, 0); | 268 | return isofs_hashi_common(qstr, 0); |
269 | } | 269 | } |
270 | 270 | ||
271 | static int | 271 | static int |
@@ -286,13 +286,13 @@ isofs_dentry_cmpi(const struct dentry *parent, const struct dentry *dentry, | |||
286 | static int | 286 | static int |
287 | isofs_hash_ms(const struct dentry *dentry, struct qstr *qstr) | 287 | isofs_hash_ms(const struct dentry *dentry, struct qstr *qstr) |
288 | { | 288 | { |
289 | return isofs_hash_common(dentry, qstr, 1); | 289 | return isofs_hash_common(qstr, 1); |
290 | } | 290 | } |
291 | 291 | ||
292 | static int | 292 | static int |
293 | isofs_hashi_ms(const struct dentry *dentry, struct qstr *qstr) | 293 | isofs_hashi_ms(const struct dentry *dentry, struct qstr *qstr) |
294 | { | 294 | { |
295 | return isofs_hashi_common(dentry, qstr, 1); | 295 | return isofs_hashi_common(qstr, 1); |
296 | } | 296 | } |
297 | 297 | ||
298 | static int | 298 | static int |