Author: adrian.chadd
Date: Tue May  5 08:29:56 2009
New Revision: 14041

Modified:
    branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c

Log:
Relocate the _clean_state stuff to the top of the file for clarity.



Modified: branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c
==============================================================================
--- branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c    (original)
+++ branches/LUSCA_HEAD/src/fs/aufs/store_log_aufs.c    Tue May  5 08:29:56  
2009
@@ -44,6 +44,16 @@

  #define CLEAN_BUF_SZ 16384

+struct _clean_state {
+    char *cur;
+    char *new;
+    char *cln;
+    char *outbuf;
+    int outbuf_offset;
+    int fd;
+    RemovalPolicyWalker *walker;
+};
+
  char *
  storeAufsDirSwapLogFile(SwapDir * sd, const char *ext)
  {
@@ -203,16 +213,6 @@
      safe_free(new_path);
      return fd;
  }
-
-struct _clean_state {
-    char *cur;
-    char *new;
-    char *cln;
-    char *outbuf;
-    int outbuf_offset;
-    int fd;
-    RemovalPolicyWalker *walker;
-};

  /*
   * Get the next entry that is a candidate for clean log writing

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to