Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GIT PULL] v9fs fixes for 3.1-rc6 #10

Merged
merged 6 commits into from
Sep 7, 2011
Merged

[GIT PULL] v9fs fixes for 3.1-rc6 #10

merged 6 commits into from
Sep 7, 2011

Commits on Sep 6, 2011

  1. fs/9p: Add fid before dentry instantiation

    d_instantiate marks the dentry positive. So a parallel lookup and mkdir of
    the directory can find dentry that doesn't have fid attached. This can result
    in both the code path doing v9fs_fid_add which results in v9fs_dentry leak.
    
    Signed-off-by: Aneesh Kumar K.V <[email protected]>
    Signed-off-by: Eric Van Hensbergen <[email protected]>
    kvaneesh authored and ericvh committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    5441ae5 View commit details
    Browse the repository at this point in the history
  2. fs/9p: Don't update file type when updating file attributes

    We should only update attributes that we can change on stat2inode.
    Also do file type initialization in v9fs_init_inode.
    
    Signed-off-by: Aneesh Kumar K.V <[email protected]>
    Signed-off-by: Eric Van Hensbergen <[email protected]>
    kvaneesh authored and ericvh committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    4508914 View commit details
    Browse the repository at this point in the history
  3. net/9p: Fix kernel crash with msize 512K

    With msize equal to 512K (PAGE_SIZE * VIRTQUEUE_NUM), we hit multiple
    crashes. This patch fix those.
    
    Signed-off-by: Aneesh Kumar K.V <[email protected]>
    Signed-off-by: Eric Van Hensbergen <[email protected]>
    kvaneesh authored and ericvh committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    b49d8b5 View commit details
    Browse the repository at this point in the history
  4. fs/9p: Add OS dependent open flags in 9p protocol

    Some of the flags are OS/arch dependent we add a 9p
    protocol value which maps to asm-generic/fcntl.h values in Linux
    Based on the original patch from Venkateswararao Jujjuri <[email protected]>
    
    Signed-off-by: Aneesh Kumar K.V <[email protected]>
    kvaneesh authored and ericvh committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    f88657c View commit details
    Browse the repository at this point in the history
  5. fs/9p: Always ask new inode in lookup for cache mode disabled

    This make sure we don't end up reusing the unlinked inode object.
    The ideal way is to use inode i_generation. But i_generation is
    not available in userspace always.
    
    Signed-off-by: Aneesh Kumar K.V <[email protected]>
    kvaneesh authored and ericvh committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    73f5071 View commit details
    Browse the repository at this point in the history
  6. fs/9p: Use protocol-defined value for lock/getlock 'type' field.

    Signed-off-by: Jim Garlick <[email protected]>
    Signed-off-by: Aneesh Kumar K.V <[email protected]>
    garlick authored and ericvh committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    51b8b4f View commit details
    Browse the repository at this point in the history