1. 27 Nov, 2009 1 commit
    • Csaba Henk's avatar
      fuse: reject O_DIRECT flag also in fuse_create · 1b732396
      Csaba Henk authored
      The comment in fuse_open about O_DIRECT:
      
        "VFS checks this, but only _after_ ->open()"
      
      also holds for fuse_create, however, the same kind of check was missing there.
      
      As an impact of this bug, open(newfile, O_RDWR|O_CREAT|O_DIRECT) fails, but a
      stub newfile will remain if the fuse server handled the implied FUSE_CREATE
      request appropriately.
      
      Other impact: in the above situation ima_file_free() will complain to open/free
      imbalance if CONFIG_IMA is set.
      Signed-off-by: default avatarCsaba Henk <csaba@gluster.com>
      Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
      Cc: Harshavardhana <harsha@gluster.com>
      Cc: stable@kernel.org
      1b732396
  2. 20 Nov, 2009 5 commits
  3. 19 Nov, 2009 9 commits
  4. 18 Nov, 2009 25 commits