04 May, 2017

1 commit

  • refcount_t type and corresponding API should be
    used instead of atomic_t when the variable is used as
    a reference counter. This allows to avoid accidental
    refcounter overflows that might lead to use-after-free
    situations.

    Signed-off-by: Elena Reshetova
    Signed-off-by: Hans Liljestrand
    Signed-off-by: Kees Cook
    Signed-off-by: David Windsor
    Signed-off-by: Ilya Dryomov

    Elena Reshetova
     

20 Feb, 2017

1 commit

  • This was causing a build failure for openrisc when using musl and
    gcc 5.4.0 since the file is not available in the toolchain.

    It doesnt seem this is needed and removing it does not cause any build
    warnings for me.

    Signed-off-by: Stafford Horne
    Signed-off-by: Ilya Dryomov

    Stafford Horne
     

02 May, 2013

1 commit

  • This creates a new source file "net/ceph/snapshot.c" to contain
    utility routines related to ceph snapshot contexts. The main
    motivation was to define ceph_create_snap_context() as a common way
    to create these structures, but I've moved the definitions of
    ceph_get_snap_context() and ceph_put_snap_context() there too.
    (The benefit of inlining those is very small, and I'd rather
    keep this collection of functions together.)

    Signed-off-by: Alex Elder
    Reviewed-by: Josh Durgin

    Alex Elder