19 Jul, 2007

2 commits


18 Jul, 2007

2 commits

  • Signed-off-by: Steve French

    Steve French
     
  • Currently, the freezer treats all tasks as freezable, except for the kernel
    threads that explicitly set the PF_NOFREEZE flag for themselves. This
    approach is problematic, since it requires every kernel thread to either
    set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
    care for the freezing of tasks at all.

    It seems better to only require the kernel threads that want to or need to
    be frozen to use some freezer-related code and to remove any
    freezer-related code from the other (nonfreezable) kernel threads, which is
    done in this patch.

    The patch causes all kernel threads to be nonfreezable by default (ie. to
    have PF_NOFREEZE set by default) and introduces the set_freezable()
    function that should be called by the freezable kernel threads in order to
    unset PF_NOFREEZE. It also makes all of the currently freezable kernel
    threads call set_freezable(), so it shouldn't cause any (intentional)
    change of behaviour to appear. Additionally, it updates documentation to
    describe the freezing of tasks more accurately.

    [akpm@linux-foundation.org: build fixes]
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Nigel Cunningham
    Cc: Pavel Machek
    Cc: Oleg Nesterov
    Cc: Gautham R Shenoy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

13 Jul, 2007

1 commit

  • This should be the last big batch of whitespace/formatting fixes.
    checkpatch warnings for the cifs directory are down about 90% and
    many of the remaining ones are harder to remove or make the code
    harder to read.

    Signed-off-by: Steve French

    Steve French
     

10 Jul, 2007

1 commit


09 Jul, 2007

1 commit


28 Jun, 2007

1 commit


26 Jun, 2007

1 commit


25 Jun, 2007

1 commit


24 May, 2007

1 commit


23 May, 2007

1 commit

  • If the cifs demultiplex thread wakes up and exits
    (zeroing server->tsk) before kthread_stop is called, the
    cifs_mount code could pass a null pointer to kthread_stop

    Thanks to akpm, Dave Young and Shaggy for suggesting
    earlier versions of this patch.

    CC: akpm@linux-foundatior.org
    Signed-off-by: Dave Young
    Signed-off-by: Dave Kleikamp
    Signed-off-by: Steve French

    Steve French
     

05 May, 2007

1 commit

  • We had a customer report that attempting to make CIFS mount with a null
    username (i.e. doing an anonymous mount) doesn't work. Looking through the
    code, it looks like CIFS expects a NULL username from userspace in order
    to trigger an anonymous mount. The mount.cifs code doesn't seem to ever
    pass a null username to the kernel, however.

    It looks also like the kernel can take a sec=none option, but it only seems
    to look at it if the username is already NULL. This seems redundant and
    effectively makes sec=none useless.

    The following patch makes sec=none force an anonymous mount.

    Signed-off-by: Steve French

    Jeff Layton
     

03 May, 2007

1 commit


01 May, 2007

1 commit

  • When CIFS Unix Extensions are negotiated we get the Unix uid and gid
    owners of the file from the server (on the Unix Query Path Info
    levels), but if the server's uids don't match the client uid's users
    were having to disable the Unix Extensions (which turned off features
    they still wanted). The changeset patch allows users to override uid
    and/or gid for file/directory owner with a default uid and/or gid
    specified at mount (as is often done when mounting from Linux cifs
    client to Windows server). This changeset also displays the uid
    and gid used by default in /proc/mounts (if applicable).

    Also cleans up code by adding some of the missing spaces after
    "if" keywords per-kernel style guidelines (as suggested by Randy Dunlap
    when he reviewed the patch).

    Signed-off-by: Steve French

    Steve French
     

27 Apr, 2007

1 commit


25 Apr, 2007

1 commit

  • IPv6 support was started a few years ago in the cifs client, but lacked a
    kernel helper function for parsing the ascii form of the ipv6 address. Now
    that that is added (and now IPv6 is the default that some OS use now) it
    was fairly easy to finish the cifs ipv6 support. This requires that
    CIFS_EXPERIMENTAL be enabled and (at least until the mount.cifs module is
    modified to use a new ipv6 friendly call instead of gethostbyname) and the
    ipv6 address be passed on the mount as "ip=" mount option.

    Thanks

    Signed-off-by: Steve French

    Steve French
     

04 Apr, 2007

1 commit


14 Feb, 2007

1 commit


08 Dec, 2006

1 commit


31 Oct, 2006

1 commit


13 Oct, 2006

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (27 commits)
    [CIFS] Missing flags2 for DFS
    [CIFS] Workaround incomplete byte length returned by some
    [CIFS] cifs Kconfig: don't select CONNECTOR
    [CIFS] Level 1 QPathInfo needed for proper OS2 support
    [CIFS] fix typo in previous patch
    [CIFS] Fix old DOS time conversion to handle timezone
    [CIFS] Do not need to adjust for Jan/Feb for leap day
    [CIFS] Fix leaps year calculation for years after 2100
    [CIFS] readdir (ffirst) enablement of accurate timestamps from legacy servers
    [CIFS] Fix compiler warning with previous patch
    [CIFS] Fix typo
    [CIFS] Allow for 15 minute TZs (e.g. Nepal) and be more explicit about
    [CIFS] Fix readdir of large directories for backlevel servers
    [CIFS] Allow LANMAN21 support even in both POSIX non-POSIX path
    [CIFS] Make use of newer QFSInfo dependent on capability bit instead of
    [CIFS] Do not send newer QFSInfo to legacy servers which can not support it
    [CIFS] Fix typo in name of new cifs_show_stats
    [CIFS] Rename server time zone field
    [CIFS] Handle legacy servers which return undefined time zone
    [CIFS] CIFS support for /proc//mountstats part 1
    ...

    Manual conflict resolution in fs/cifs/connect.c

    Linus Torvalds
     
  • Partly suggested by Igor Mammedov

    Signed-off-by: Steve French

    Steve French
     

02 Oct, 2006

1 commit

  • Replace references to system_utsname to the per-process uts namespace
    where appropriate. This includes things like uname.

    Changes: Per Eric Biederman's comments, use the per-process uts namespace
    for ELF_PLATFORM, sunrpc, and parts of net/ipv4/ipconfig.c

    [jdike@addtoit.com: UML fix]
    [clg@fr.ibm.com: cleanup]
    [akpm@osdl.org: build fix]
    Signed-off-by: Serge E. Hallyn
    Cc: Kirill Korotaev
    Cc: "Eric W. Biederman"
    Cc: Herbert Poetzl
    Cc: Andrey Savochkin
    Signed-off-by: Cedric Le Goater
    Cc: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Serge E. Hallyn
     

30 Sep, 2006

2 commits


29 Sep, 2006

1 commit


21 Sep, 2006

1 commit


15 Aug, 2006

1 commit


12 Aug, 2006

2 commits


27 Jun, 2006

1 commit


26 Jun, 2006

1 commit


23 Jun, 2006

1 commit


14 Jun, 2006

1 commit


02 Jun, 2006

1 commit


01 Jun, 2006

1 commit


31 May, 2006

3 commits