summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-09-18 02:28:38 +0400
committerDavid Howells <dhowells@redhat.com>2014-09-18 02:29:53 +0400
commite2cf1f1cc7636bd860e47cd0ad6194da8975f8b5 (patch)
treebbd2b0e992ad9fcdc71c929808e1222b082cbe53 /drivers/net/wireless
parent696382f938d22597f4945865ed8e3f25e240cd41 (diff)
downloadlinux-e2cf1f1cc7636bd860e47cd0ad6194da8975f8b5.tar.xz
CacheFiles: Handle rename2
Not all filesystems now provide the rename i_op - ext4 for one - but rather provide the rename2 i_op. CacheFiles checks that the filesystem has rename and so will reject ext4 now with EPERM: CacheFiles: Failed to register: -1 Fix this by checking for rename2 as an alternative. The call to vfs_rename() actually handles selection of the appropriate function, so we needn't worry about that. Turning on debugging shows: [cachef] ==> cachefiles_get_directory(,,cache) [cachef] subdir -> ffff88000b22b778 positive [cachef] <== cachefiles_get_directory() = -1 [check] where -1 is EPERM. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'drivers/net/wireless')
0 files changed, 0 insertions, 0 deletions