1. 28 9月, 2011 1 次提交
    • P
      doc: fix broken references · 395cf969
      Paul Bolle 提交于
      There are numerous broken references to Documentation files (in other
      Documentation files, in comments, etc.). These broken references are
      caused by typo's in the references, and by renames or removals of the
      Documentation files. Some broken references are simply odd.
      
      Fix these broken references, sometimes by dropping the irrelevant text
      they were part of.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      395cf969
  2. 11 7月, 2007 2 次提交
    • S
      [PATCH] configfs+dlm: Rename config_group_find_obj and state semantics clearly · 3fe6c5ce
      Satyam Sharma 提交于
      Configfs being based upon sysfs code, config_group_find_obj() is probably
      so named because of the similar kset_find_obj() in sysfs. However,
      "kobject"s in sysfs become "config_item"s in configfs, so let's call it
      config_group_find_item() instead, for sake of uniformity, and make
      corresponding change in the users of this function.
      
      BTW a crucial difference between kset_find_obj and config_group_find_item
      is in locking expectations. kset_find_obj does its locking by itself, but
      config_group_find_item expects the *caller* to do the locking. The reason
      for this: kset's have their own locks, config_group's don't but instead
      rely on the subsystem mutex. And, subsystem needn't necessarily be around
      when config_group_find_item() is called.
      
      So let's state these locking semantics explicitly, and rectify the comment,
      otherwise bugs could continue to occur in future, as they did in the past
      (refer commit d82b8191e238 in gfs2-2.6-fixes.git).
      
      [ I also took the opportunity to fix some bad whitespace and
      double-empty lines. --Joel ]
      
      [ Conflict in fs/dlm/config.c with commit
        3168b078 manually resolved. --Mark ]
      Signed-off-by: NSatyam Sharma <ssatyam@cse.iitk.ac.in>
      Cc: David Teigland <teigland@redhat.com>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
      3fe6c5ce
    • S
      configfs: misc cleanups · 4c62b534
      Satyam Sharma 提交于
      1. item.c:config_item_cleanup() is a private function (only called by
      config_item_release() in same file). However, it is spuriously
      exported in include/linux/configfs.h, so remove that export and make
      it static in item.c. Also, it is no longer exported / interface
      function, so no need to give comment for this function (the comment
      was stating obvious thing, anyway).
      
      2. Kernel-doc comment format does not allow empty line between end of
      comment and start of function (declaration line). There were several
      such spurious empty lines in item.c, so fix them.
      
        fs/configfs/item.c       |   15 +++------------
        include/linux/configfs.h |    1 -
        2 files changed, 3 insertions(+), 13 deletions(-)
      Signed-off-by: NSatyam Sharma <ssatyam@cse.iitk.ac.in>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
      4c62b534
  3. 18 1月, 2006 1 次提交
  4. 04 1月, 2006 1 次提交