• Andrew Morton's avatar
    [PATCH] hugetlbfs: don't implement read/write file_ops · 1cf1d22a
    Andrew Morton authored
    From Rohit Seth.
    
    We're currently disabling read() and write() against hugetlbfs files via the
    address_space ops.  But that's a bit awkward, and results in reads and writes
    instantiating useless, non-uptodate 4k pagecache against the inodes.
    
    The patch removes the read, write and sendfile file_operations entries.  So
    the caller will get their -EINVAL without us ever having to go to the
    pagecache layer.
    1cf1d22a
inode.c 13.4 KB