]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/dcache.c
Merge remote-tracking branch 'h8300-remove/h8300-remove'
[karo-tx-linux.git] / fs / dcache.c
index 62538e705c9b11eb7def3082beaf0ca6bba53418..20532cb0b06e7ebfc6887e87fd3781e65eb41999 100644 (file)
@@ -1331,14 +1331,6 @@ rename_retry:
  * list is non-empty and continue searching.
  */
 
-/**
- * have_submounts - check for mounts over a dentry
- * @parent: dentry to check.
- *
- * Return true if the parent or its subdirectories contain
- * a mount point
- */
-
 static enum d_walk_ret check_mount(void *data, struct dentry *dentry)
 {
        int *ret = data;
@@ -1349,6 +1341,13 @@ static enum d_walk_ret check_mount(void *data, struct dentry *dentry)
        return D_WALK_CONTINUE;
 }
 
+/**
+ * have_submounts - check for mounts over a dentry
+ * @parent: dentry to check.
+ *
+ * Return true if the parent or its subdirectories contain
+ * a mount point
+ */
 int have_submounts(struct dentry *parent)
 {
        int ret = 0;
@@ -1435,7 +1434,7 @@ static enum d_walk_ret select_collect(void *_data, struct dentry *dentry)
                /*
                 * We can't use d_lru_shrink_move() because we
                 * need to get the global LRU lock and do the
-                * RLU accounting.
+                * LRU accounting.
                 */
                d_lru_del(dentry);
                d_shrink_add(dentry, &data->dispose);